Trait actix::fut::future::WrapFuture [−][src]
pub trait WrapFuture<A> where
A: Actor, { type Future: ActorFuture<A>; fn into_actor(self, a: &A) -> Self::Future; }
Expand description
Helper trait that allows conversion of normal future into ActorFuture
Associated Types
type Future: ActorFuture<A>
[src]
type Future: ActorFuture<A>
[src]The future that this type can be converted into.
Required methods
fn into_actor(self, a: &A) -> Self::Future
[src]
fn into_actor(self, a: &A) -> Self::Future
[src]Convert normal future to a ActorFuture
Implementors
type Future = FutureWrap<F, A>