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; }

Helper trait that allows conversion of normal future into ActorFuture

Associated Types

type Future: ActorFuture<A>[src]

The future that this type can be converted into.

Loading content...

Required methods

fn into_actor(self, a: &A) -> Self::Future[src]

Convert normal future to a ActorFuture

Loading content...

Implementors

impl<F: Future, A: Actor> WrapFuture<A> for F[src]

type Future = FutureWrap<F, A>

Loading content...