pub struct Interval { /* private fields */ }Expand description
A stream that yields at fixed intervals.
Missed ticks are skipped: after a scheduling delay, the next deadline is advanced to the next period boundary at or after the current time.
Implementations§
Trait Implementations§
Source§impl Stream for Interval
impl Stream for Interval
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