Trait actix::fut::future::IntoActorFuture[][src]

pub trait IntoActorFuture<A: Actor> {
    type Future: ActorFuture<A, Output = Self::Output>;
    type Output;
    fn into_future(self) -> Self::Future;
}

Class of types which can be converted into an actor future.

This trait is very similar to the IntoIterator trait and is intended to be used in a very similar fashion.

Associated Types

type Future: ActorFuture<A, Output = Self::Output>[src]

The future that this type can be converted into.

type Output[src]

The item that the future may resolve with.

Loading content...

Required methods

fn into_future(self) -> Self::Future[src]

Consumes this object and produces a future.

Loading content...

Implementors

impl<F, A> IntoActorFuture<A> for F where
    F: ActorFuture<A> + Sized,
    A: Actor
[src]

type Future = F

type Output = F::Output

Loading content...