fidl_fuchsia_hardware_suspend

Trait SuspenderProxyInterface

Source
pub trait SuspenderProxyInterface: Send + Sync {
    type GetSuspendStatesResponseFut: Future<Output = Result<SuspenderGetSuspendStatesResult, Error>> + Send;
    type SuspendResponseFut: Future<Output = Result<SuspenderSuspendResult, Error>> + Send;

    // Required methods
    fn get_suspend_states(&self) -> Self::GetSuspendStatesResponseFut;
    fn suspend(
        &self,
        payload: &SuspenderSuspendRequest,
    ) -> Self::SuspendResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§