Trait actix::Subscriber
[−]
[src]
pub trait Subscriber<M: 'static> { fn send(&self, msg: M) -> Result<(), M>; }
Required Methods
Implementors
impl<A, M> Subscriber<M> for Address<A> where
A: Actor + Handler<M>,
A::Context: AsyncContext<A>,
M: ResponseType + 'static,impl<A, M> Subscriber<M> for SyncAddress<A> where
A: Actor + Handler<M>,
<A as Actor>::Context: ToEnvelope<A, M>,
M: ResponseType + Send + 'static,
M::Item: Send,
M::Error: Send,