Struct async_timer::Expired
source · pub struct Expired<'a, F, T>(_);
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> RefUnwindSafe for Expired<'a, F, T>where F: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, F, T> Send for Expired<'a, F, T>where F: Send, T: Send,
impl<'a, F, T> Sync for Expired<'a, F, T>where F: Sync, T: Sync,
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§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