Struct actix::sync::SyncContext [−][src]
pub struct SyncContext<A> where
A: Actor<Context = SyncContext<A>>, { /* fields omitted */ }Sync actor execution context
Trait Implementations
impl<A, M> ToEnvelope<A, M> for SyncContext<A> where
A: Actor<Context = SyncContext<A>> + Handler<M>,
M: Message + Send + 'static,
M::Result: Send, [src]
impl<A, M> ToEnvelope<A, M> for SyncContext<A> where
A: Actor<Context = SyncContext<A>> + Handler<M>,
M: Message + Send + 'static,
M::Result: Send, fn pack(msg: M, tx: Option<SyncSender<M::Result>>) -> Envelope<A>[src]
fn pack(msg: M, tx: Option<SyncSender<M::Result>>) -> Envelope<A>Pack message into suitable envelope
impl<A> ActorContext for SyncContext<A> where
A: Actor<Context = Self>, [src]
impl<A> ActorContext for SyncContext<A> where
A: Actor<Context = Self>, Auto Trait Implementations
impl<A> !Send for SyncContext<A>
impl<A> !Send for SyncContext<A>impl<A> !Sync for SyncContext<A>
impl<A> !Sync for SyncContext<A>