Trait actix_web::actix::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)
Implementations on Foreign Types
impl<M> ResponseChannel<M> for () where
M: 'static + Message,
impl<M> ResponseChannel<M> for () where
M: 'static + Message,
fn is_canceled(&self) -> bool
fn is_canceled(&self) -> bool
fn send(self, <M as Message>::Result)
fn send(self, <M as Message>::Result)
impl<M> ResponseChannel<M> for Sender<<M as Message>::Result> where
M: 'static + Message,
<M as Message>::Result: Send,
impl<M> ResponseChannel<M> for Sender<<M as Message>::Result> where
M: 'static + Message,
<M as Message>::Result: Send,
fn is_canceled(&self) -> bool
fn is_canceled(&self) -> bool
fn send(self, response: <M as Message>::Result)
fn send(self, response: <M as Message>::Result)