pub struct TimeClock;Expand description
Production Clock backed by proxima-time’s link-bound driver.
now_nanos reads the monotonic clock; delay hands back proxima-time’s
concrete Sleep future, so a Retry built over this stays unboxed and
no-alloc. Build the controller’s Deadline from the same clock so the
nanos origins agree.
Trait Implementations§
impl Copy for TimeClock
Auto Trait Implementations§
impl Freeze for TimeClock
impl RefUnwindSafe for TimeClock
impl Send for TimeClock
impl Sync for TimeClock
impl Unpin for TimeClock
impl UnsafeUnpin for TimeClock
impl UnwindSafe for TimeClock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more