pub struct Expired<'a, F, T>(/* private fields */);
Expand description
Error when Timed expires
Implements Future
that can be used to restart Timed
Note, that Timer
starts execution immediately after resolving this Future.
Trait Implementations§
Auto Trait Implementations§
impl<'a, F, T> Freeze for Expired<'a, F, T>where
T: Freeze,
impl<'a, F, T> RefUnwindSafe for Expired<'a, F, T>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<'a, F, T> Send for Expired<'a, F, T>
impl<'a, F, T> Sync for Expired<'a, F, T>
impl<'a, F, T> Unpin for Expired<'a, F, T>where
T: Unpin,
impl<'a, F, T> !UnwindSafe for Expired<'a, F, 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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more