Trait actix::dev::ResponseChannel[][src]

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

Trait defines message response channel

Required Methods

Implementations on Foreign Types

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

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

Implementors