fidl_fuchsia_hardware_ramdiskTrait 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;
}