fidl_fuchsia_hardware_block

Trait BlockProxyInterface

Source
pub trait BlockProxyInterface: Send + Sync {
    type GetInfoResponseFut: Future<Output = Result<BlockGetInfoResult, Error>> + Send;
    type GetStatsResponseFut: Future<Output = Result<BlockGetStatsResult, Error>> + Send;

    // Required methods
    fn get_info(&self) -> Self::GetInfoResponseFut;
    fn get_stats(&self, clear: bool) -> Self::GetStatsResponseFut;
    fn open_session(
        &self,
        session: ServerEnd<SessionMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn get_info(&self) -> Self::GetInfoResponseFut

Source

fn get_stats(&self, clear: bool) -> Self::GetStatsResponseFut

Source

fn open_session(&self, session: ServerEnd<SessionMarker>) -> Result<(), Error>

Implementors§