Struct actix::fut::future::Timeout [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Timeout<F> { /* fields omitted */ }
Expand description
Future for the timeout
combinator, interrupts computations if it takes
more than timeout
.
This is created by the ActorFuture::timeout()
method.
Trait Implementations
Auto Trait Implementations
impl<F> !RefUnwindSafe for Timeout<F>
impl<F> !UnwindSafe for Timeout<F>
Blanket Implementations
Map this future’s result to a different type, returning a new future of the resulting type. Read more
Chain on a computation for when a future finished, passing the result of
the future to the provided closure f
. Read more
Add timeout to futures chain. Read more
Wrap the future in a Box, pinning it. Read more
impl<A, F, T, E> ActorTryFuture<A> for F where
F: ActorFuture<A, Output = Result<T, E>> + ?Sized,
A: Actor,
[src]
impl<A, F, T, E> ActorTryFuture<A> for F where
F: ActorFuture<A, Output = Result<T, E>> + ?Sized,
A: Actor,
[src]Mutably borrows from an owned value. Read more