Enum async_time_mock_tokio::Timeout
source · pub enum Timeout<T> {
Real(Timeout<T>),
Mock(Timeout<T>),
}
Variants§
Implementations§
Trait Implementations§
impl<'pin, T> Unpin for Timeout<T>where __Timeout<'pin, T>: Unpin,
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Timeout<T>
impl<T> Send for Timeout<T>where T: Send,
impl<T> !Sync for Timeout<T>
impl<T> !UnwindSafe for Timeout<T>
Blanket Implementations§
§impl<F> FutureExt for Fwhere
F: Future + ?Sized,
impl<F> FutureExt for Fwhere F: Future + ?Sized,
§fn catch_unwind(self) -> CatchUnwind<Self>where
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self>where Self: Sized + UnwindSafe,
Catches panics while polling the future. Read more
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