Struct actix::dev::ContextFut

source ·
pub struct ContextFut<A, C>where
    C: AsyncContextParts<A>,
    A: Actor<Context = C>,
{ /* private fields */ }

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Creates a new future which allows self until timeout. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The future that this type can be converted into.
The item that the future may resolve with.
The error that the future may resolve with.
Consumes this object and produces a future.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The future that this type can be converted into.
The item that the future may resolve with.
The error that the future may resolve with.
Convert normal future to a ActorFuture