pub struct Interval<T> { /* private fields */ }Expand description
Handle to a repeating background sampler started by spawn_interval.
Each sample is delivered to the thread that spawned it through the given
Scheduler; subscribe with Interval::results.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Interval<T>
impl<T> !RefUnwindSafe for Interval<T>
impl<T> !Send for Interval<T>
impl<T> !Sync for Interval<T>
impl<T> !UnwindSafe for Interval<T>
impl<T> Unpin for Interval<T>
impl<T> UnsafeUnpin for Interval<T>
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