[][src]Trait actix_web::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

fn is_canceled(&self) -> bool

fn send(self, response: <M as Message>::Result)

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...