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