Struct tokio::time::Timeout [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct Timeout<T> { /* fields omitted */ }
Future returned by timeout
and timeout_at
.
Implementations
impl<T> Timeout<T>
[src]
impl<T> Timeout<T>
[src]Trait Implementations
impl<'__pin, T> Unpin for Timeout<T> where
__Origin<'__pin, T>: Unpin,
[src]
__Origin<'__pin, T>: Unpin,
Auto Trait Implementations
impl<T> !RefUnwindSafe for Timeout<T>
impl<T> Send for Timeout<T> where
T: Send,
T: Send,
impl<T> Sync for Timeout<T> where
T: Sync,
T: Sync,
impl<T> !UnwindSafe for Timeout<T>
Blanket Implementations
impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?