Struct actix::dev::Envelope [−][src]
pub struct Envelope<A: Actor>(_);
Methods
impl<A: Actor> Envelope<A>
[src]
impl<A: Actor> Envelope<A>
pub fn new<M>(msg: M, tx: Option<Sender<M::Result>>) -> Envelope<A> where
A: Handler<M>,
A::Context: AsyncContext<A>,
M: Message + Send + 'static,
M::Result: Send,
[src]
pub fn new<M>(msg: M, tx: Option<Sender<M::Result>>) -> Envelope<A> where
A: Handler<M>,
A::Context: AsyncContext<A>,
M: Message + Send + 'static,
M::Result: Send,
pub fn with_proxy(proxy: Box<EnvelopeProxy<Actor = A> + Send>) -> Envelope<A>
[src]
pub fn with_proxy(proxy: Box<EnvelopeProxy<Actor = A> + Send>) -> Envelope<A>