Struct actix::Response [] [src]

pub struct Response<A, M> where
    A: Actor + ResponseType<M>, 
{ /* fields omitted */ }

Response represents asyncronous message handling process.

Methods

impl<A, M> Response<A, M> where
    A: Actor + ResponseType<M>, 
[src]

[src]

Create response

[src]

Create async response

[src]

Create unit response

[src]

Create error response

Trait Implementations

impl<A, M, T> From<T> for Response<A, M> where
    A: Actor + Handler<M>,
    T: ActorFuture<Item = A::Item, Error = A::Error, Actor = A> + Sized + 'static, 
[src]

Helper trait that converts compatible ActorFuture type to Response.

[src]

Performs the conversion.