pub struct Timers<T> { /* private fields */ }
Available on crate feature
net
only.Expand description
A TimerMap
with an async method to wait for the next timer expiration.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Timers<T>
impl<T> !RefUnwindSafe for Timers<T>
impl<T> Send for Timers<T>where
T: Send,
impl<T> Sync for Timers<T>where
T: Sync,
impl<T> Unpin for Timers<T>where
T: Unpin,
impl<T> !UnwindSafe for Timers<T>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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