[][src]Trait actori::dev::ResponseChannel

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

A trait that defines a message response channel.

Required methods

fn is_canceled(&self) -> bool

fn send(self, response: M::Result)

Loading content...

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]

Loading content...

Implementors

Loading content...