Struct actix_web::actix::actix::ActorResponse[]

pub struct ActorResponse<A, I, E> { /* fields omitted */ }

Helper type for representing different type of message responses

Methods

impl<A, I, E> ActorResponse<A, I, E> where
    A: Actor

Create response

Create async response

Trait Implementations

impl<A, M, I, E> MessageResponse<A, M> for ActorResponse<A, I, E> where
    A: Actor,
    E: 'static,
    I: 'static,
    M: Message<Result = Result<I, E>>,
    <A as Actor>::Context: AsyncContext<A>, 

Auto Trait Implementations

impl<A, I, E> !Send for ActorResponse<A, I, E>

impl<A, I, E> !Sync for ActorResponse<A, I, E>