fidl_fuchsia_hardware_ramdisk

Trait RamdiskProxyInterface

Source
pub trait RamdiskProxyInterface: Send + Sync {
    type SetFlagsResponseFut: Future<Output = Result<(), Error>> + Send;
    type WakeResponseFut: Future<Output = Result<(), Error>> + Send;
    type SleepAfterResponseFut: Future<Output = Result<(), Error>> + Send;
    type GetBlockCountsResponseFut: Future<Output = Result<BlockWriteCounts, Error>> + Send;

    // Required methods
    fn set_flags(&self, flags: RamdiskFlag) -> Self::SetFlagsResponseFut;
    fn wake(&self) -> Self::WakeResponseFut;
    fn sleep_after(&self, count: u64) -> Self::SleepAfterResponseFut;
    fn get_block_counts(&self) -> Self::GetBlockCountsResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§