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>
[src]

[src]

[src]

impl<M: Message + 'static> ResponseChannel<M> for UnsyncSender<M::Result>
[src]

[src]

[src]

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

[src]

[src]

Implementors