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
fn is_canceled(&self) -> bool
fn send(self, response: M::Result)
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 SyncSender<M::Result> where
M::Result: Send,
impl<M: Message + 'static> ResponseChannel<M> for ()
[src]
impl<M: Message + 'static> ResponseChannel<M> for ()