fidl_fuchsia_time_alarms

Trait WakeProxyInterface

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

    // Required methods
    fn set_and_wait(
        &self,
        deadline: BootInstant,
        setup_done: Event,
        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, setup_done: Event, alarm_id: &str, ) -> Self::SetAndWaitResponseFut

Source

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

Implementors§