fidl_fuchsia_fs_startup

Trait StartupProxyInterface

Source
pub trait StartupProxyInterface: Send + Sync {
    type StartResponseFut: Future<Output = Result<StartupStartResult, Error>> + Send;
    type FormatResponseFut: Future<Output = Result<StartupFormatResult, Error>> + Send;
    type CheckResponseFut: Future<Output = Result<StartupCheckResult, Error>> + Send;

    // Required methods
    fn start(
        &self,
        device: ClientEnd<BlockMarker>,
        options: StartOptions,
    ) -> Self::StartResponseFut;
    fn format(
        &self,
        device: ClientEnd<BlockMarker>,
        options: &FormatOptions,
    ) -> Self::FormatResponseFut;
    fn check(
        &self,
        device: ClientEnd<BlockMarker>,
        options: CheckOptions,
    ) -> Self::CheckResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn start( &self, device: ClientEnd<BlockMarker>, options: StartOptions, ) -> Self::StartResponseFut

Source

fn format( &self, device: ClientEnd<BlockMarker>, options: &FormatOptions, ) -> Self::FormatResponseFut

Source

fn check( &self, device: ClientEnd<BlockMarker>, options: CheckOptions, ) -> Self::CheckResponseFut

Implementors§