fidl_fuchsia_hardware_ramdisk

Trait RamdiskControllerProxyInterface

Source
pub trait RamdiskControllerProxyInterface: Send + Sync {
    type CreateResponseFut: Future<Output = Result<RamdiskControllerCreateResult, Error>> + Send;
    type CreateFromVmoResponseFut: Future<Output = Result<RamdiskControllerCreateFromVmoResult, Error>> + Send;
    type CreateFromVmoWithParamsResponseFut: Future<Output = Result<RamdiskControllerCreateFromVmoWithParamsResult, Error>> + Send;

    // Required methods
    fn create(
        &self,
        block_size: u64,
        block_count: u64,
        type_guid: Option<&Guid>,
    ) -> Self::CreateResponseFut;
    fn create_from_vmo(&self, vmo: Vmo) -> Self::CreateFromVmoResponseFut;
    fn create_from_vmo_with_params(
        &self,
        vmo: Vmo,
        block_size: u64,
        type_guid: Option<&Guid>,
    ) -> Self::CreateFromVmoWithParamsResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn create( &self, block_size: u64, block_count: u64, type_guid: Option<&Guid>, ) -> Self::CreateResponseFut

Source

fn create_from_vmo(&self, vmo: Vmo) -> Self::CreateFromVmoResponseFut

Source

fn create_from_vmo_with_params( &self, vmo: Vmo, block_size: u64, type_guid: Option<&Guid>, ) -> Self::CreateFromVmoWithParamsResponseFut

Implementors§