Trait WakeAlarmsProxyInterface

Source
pub trait WakeAlarmsProxyInterface: Send + Sync {
    type SetAndWaitResponseFut: Future<Output = Result<WakeAlarmsSetAndWaitResult, Error>> + Send;

    // Required methods
    fn set_and_wait(
        &self,
        deadline: BootInstant,
        mode: SetMode,
        alarm_id: &str,
    ) -> Self::SetAndWaitResponseFut;
    fn cancel(&self, alarm_id: &str) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn set_and_wait( &self, deadline: BootInstant, mode: SetMode, alarm_id: &str, ) -> Self::SetAndWaitResponseFut

Source

fn cancel(&self, alarm_id: &str) -> Result<(), Error>

Implementors§