Trait actix::fut::WrapFuture
[−]
[src]
pub trait WrapFuture<A> where
A: Actor, { type Future: ActorFuture<Item = Self::Item, Error = Self::Error, Actor = A>; type Item; type Error; fn actfuture(self) -> Self::Future; }
Helper trait that allows conversion of normal future into ActorFuture
Associated Types
type Future: ActorFuture<Item = Self::Item, Error = Self::Error, Actor = A>
The future that this type can be converted into.
type Item
The item that the future may resolve with.
type Error
The error that the future may resolve with.