pub type HrTimerHandle = Arc<HrTimer>;Aliased Type§
pub struct HrTimerHandle { /* private fields */ }Trait Implementations§
Source§impl TimerOps for HrTimerHandle
impl TimerOps for HrTimerHandle
Source§fn start(
&self,
current_task: &CurrentTask,
source: Option<Weak<dyn OnWakeOps>>,
deadline: TargetTime,
) -> Result<(), Errno>
fn start( &self, current_task: &CurrentTask, source: Option<Weak<dyn OnWakeOps>>, deadline: TargetTime, ) -> Result<(), Errno>
Starts the timer with the specified
deadline. Read moreSource§fn as_handle_ref(&self) -> HandleRef<'_>
fn as_handle_ref(&self) -> HandleRef<'_>
Returns a reference to the underlying Zircon handle.
Source§fn get_timeline_change_observer(
&self,
current_task: &CurrentTask,
) -> Option<TimelineChangeObserver>
fn get_timeline_change_observer( &self, current_task: &CurrentTask, ) -> Option<TimelineChangeObserver>
For TimerOps that support monitoring timeline changes (e.g. timers on the
UTC timeline), this returns a an object that counts the number of timeline
changes since last reset. Read more