Skip to main content

SysSuspendProxyInterface

Trait SysSuspendProxyInterface 

Source
pub trait SysSuspendProxyInterface: Send + Sync {
    type CallbackResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required method
    fn callback(
        &self,
        enable_wake: bool,
        suspend_reason: u8,
    ) -> Self::CallbackResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn callback( &self, enable_wake: bool, suspend_reason: u8, ) -> Self::CallbackResponseFut

Implementors§