pub struct Interval { /* private fields */ }Expand description
Periodic ticker — the seam replacement for tokio::time::interval, so no
production site names tokio::time directly (decision A2). The hosted build
wraps tokio::time::Interval, preserving its default
MissedTickBehavior::Burst catch-up and immediate first tick; the RTEMS
build substitutes the runtime-free
crate::runtime::background::timer_sleep::TimerInterval, which reproduces
the same semantics over the delayed-callback timer.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Interval
impl !UnwindSafe for Interval
impl Freeze for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnsafeUnpin for Interval
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