pub struct Deadline<'a, C: SimpleClock> { /* private fields */ }
Expand description
Provides an easy way to specify operation deadline
This timer is usually used to limit polling operation by a certain period of time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for Deadline<'a, C>
impl<'a, C> RefUnwindSafe for Deadline<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Deadline<'a, C>where
C: Sync,
impl<'a, C> Sync for Deadline<'a, C>where
C: Sync,
impl<'a, C> Unpin for Deadline<'a, C>
impl<'a, C> UnwindSafe for Deadline<'a, C>where
C: RefUnwindSafe,
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