fidl_fuchsia_time_alarms

Trait ClientSideBatonManagementProxyInterface

Source
pub trait ClientSideBatonManagementProxyInterface: 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§