fidl_fuchsia_fs_startup

Trait VolumeProxyInterface

Source
pub trait VolumeProxyInterface: Send + Sync {
    type MountResponseFut: Future<Output = Result<VolumeMountResult, Error>> + Send;
    type CheckResponseFut: Future<Output = Result<VolumeCheckResult, Error>> + Send;
    type SetLimitResponseFut: Future<Output = Result<VolumeSetLimitResult, Error>> + Send;
    type GetLimitResponseFut: Future<Output = Result<VolumeGetLimitResult, Error>> + Send;

    // Required methods
    fn mount(
        &self,
        outgoing_directory: ServerEnd<DirectoryMarker>,
        options: MountOptions,
    ) -> Self::MountResponseFut;
    fn check(&self, options: CheckOptions) -> Self::CheckResponseFut;
    fn set_limit(&self, bytes: u64) -> Self::SetLimitResponseFut;
    fn get_limit(&self) -> Self::GetLimitResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn mount( &self, outgoing_directory: ServerEnd<DirectoryMarker>, options: MountOptions, ) -> Self::MountResponseFut

Source

fn check(&self, options: CheckOptions) -> Self::CheckResponseFut

Source

fn set_limit(&self, bytes: u64) -> Self::SetLimitResponseFut

Source

fn get_limit(&self) -> Self::GetLimitResponseFut

Implementors§