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> ActorContext<A> for SyncContext<A> where
A: Actor<Context = Self>,
[src]
A: Actor<Context = Self>,
fn stop(&mut self)
[src]
Stop actor execution
fn terminate(&mut self)
[src]
Terminate actor execution
fn state(&self) -> ActorState
[src]
Actor execution state
fn alive(&self) -> bool
[src]
Check if execution context is alive
fn address<Address>(&mut self) -> Address where
A: ActorAddress<A, Address>,
[src]
A: ActorAddress<A, Address>,
Get actor address