fidl_fuchsia_testing_sl4f

Trait FacadeProviderProxyInterface

Source
pub trait FacadeProviderProxyInterface: Send + Sync {
    type ExecuteResponseFut: Future<Output = Result<(Option<Vmo>, Option<String>), Error>> + Send;
    type CleanupResponseFut: Future<Output = Result<(), Error>> + Send;
    type PrintResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get_facades(
        &self,
        iterator: ServerEnd<FacadeIteratorMarker>,
    ) -> Result<(), Error>;
    fn execute(
        &self,
        facade: &str,
        command: &str,
        params_blob: Vmo,
    ) -> Self::ExecuteResponseFut;
    fn cleanup(&self) -> Self::CleanupResponseFut;
    fn print(&self) -> Self::PrintResponseFut;
}

Required Associated Types§

Source

type ExecuteResponseFut: Future<Output = Result<(Option<Vmo>, Option<String>), Error>> + Send

Source

type CleanupResponseFut: Future<Output = Result<(), Error>> + Send

Source

type PrintResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn get_facades( &self, iterator: ServerEnd<FacadeIteratorMarker>, ) -> Result<(), Error>

Source

fn execute( &self, facade: &str, command: &str, params_blob: Vmo, ) -> Self::ExecuteResponseFut

Source

fn cleanup(&self) -> Self::CleanupResponseFut

Source

fn print(&self) -> Self::PrintResponseFut

Implementors§