[]Trait actix_web::actix::actix::dev::ResponseChannel

pub trait ResponseChannel<M>: 'static where
    M: Message
{ fn is_canceled(&self) -> bool;
fn send(self, response: <M as Message>::Result); }

Trait defines message response channel

Required Methods

Implementations on Foreign Types

impl<M> ResponseChannel<M> for Sender<<M as Message>::Result> where
    M: 'static + Message,
    <M as Message>::Result: Send

impl<M> ResponseChannel<M> for () where
    M: 'static + Message

Implementors