Struct actix::dev::ContextFut [−][src]
pub struct ContextFut<A, C> where
C: AsyncContextParts<A> + Unpin,
A: Actor<Context = C>, { /* fields omitted */ }
Implementations
Trait Implementations
impl<A, C> Debug for ContextFut<A, C> where
C: AsyncContextParts<A> + Unpin,
A: Actor<Context = C>,
[src]
impl<A, C> Debug for ContextFut<A, C> where
C: AsyncContextParts<A> + Unpin,
A: Actor<Context = C>,
[src]impl<A, C> Drop for ContextFut<A, C> where
C: AsyncContextParts<A> + Unpin,
A: Actor<Context = C>,
[src]
impl<A, C> Drop for ContextFut<A, C> where
C: AsyncContextParts<A> + Unpin,
A: Actor<Context = C>,
[src]Auto Trait Implementations
impl<A, C> !RefUnwindSafe for ContextFut<A, C>
impl<A, C> !Send for ContextFut<A, C>
impl<A, C> !Sync for ContextFut<A, C>
impl<A, C> Unpin for ContextFut<A, C>
impl<A, C> !UnwindSafe for ContextFut<A, C>
Blanket Implementations
Mutably borrows from an owned value. Read more
Map this future’s output to a different type, returning a new future of the resulting type. Read more
Map this future’s output 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
Wrap this future in an Either
future, making it the left-hand variant
of that Either
. Read more
Wrap this future in an Either
future, making it the right-hand variant
of that Either
. Read more
Convert this future into a single element stream. Read more
Flatten the execution of this future when the output of this future is itself another future. Read more
Flatten the execution of this future when the successful result of this future is a stream. Read more
Fuse a future such that poll
will never again be called once it has
completed. This method can be used to turn any Future
into a
FusedFuture
. Read more
Do something with the output of a future before passing it on. Read more
Turns a Future<Output = T>
into a
TryFuture<Ok = T, Error = ()
>. Read more
Turns a Future<Output = T>
into a
TryFuture<Ok = T, Error = Never
>. Read more
A convenience for calling Future::poll
on Unpin
future types.
Evaluates and consumes the future, returning the resulting output if
the future is ready after the first call to Future::poll
. Read more
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
into_future
)Which kind of future are we turning this into?
into_future
)Creates a future from a value.
type Future = FutureWrap<F, A>
type Future = FutureWrap<F, A>
The future that this type can be converted into.
Convert normal future to a ActorFuture