fidl_fuchsia_element

Trait ManagerProxyInterface

Source
pub trait ManagerProxyInterface: Send + Sync {
    type ProposeElementResponseFut: Future<Output = Result<ManagerProposeElementResult, Error>> + Send;
    type RemoveElementResponseFut: Future<Output = Result<ManagerRemoveElementResult, Error>> + Send;

    // Required methods
    fn propose_element(
        &self,
        spec: Spec,
        controller: Option<ServerEnd<ControllerMarker>>,
    ) -> Self::ProposeElementResponseFut;
    fn remove_element(&self, name: &str) -> Self::RemoveElementResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn propose_element( &self, spec: Spec, controller: Option<ServerEnd<ControllerMarker>>, ) -> Self::ProposeElementResponseFut

Source

fn remove_element(&self, name: &str) -> Self::RemoveElementResponseFut

Implementors§