HrTimerHandle

Type Alias HrTimerHandle 

Source
pub type HrTimerHandle = Arc<HrTimer>;

Aliased Type§

pub struct HrTimerHandle { /* private fields */ }

Trait Implementations§

Source§

impl TimerOps for HrTimerHandle

Source§

fn start( &self, current_task: &CurrentTask, source: Option<Weak<dyn OnWakeOps>>, deadline: TargetTime, ) -> Result<(), Errno>

Starts the timer with the specified deadline. Read more
Source§

fn stop(&self, kernel: &Arc<Kernel>) -> Result<(), Errno>

Stops the timer. Read more
Source§

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>

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