Trait actix::dev::ToEnvelope[][src]

pub trait ToEnvelope<A, M: Message> where
    A: Actor + Handler<M>,
    A::Context: ToEnvelope<A, M>, 
{ fn pack(msg: M, tx: Option<Sender<M::Result>>) -> Envelope<A>; }

Converter trait, packs message to suitable envelope

Required Methods

Pack message into suitable envelope

Implementors