Struct actix::dev::ActorAddressCell
[−]
[src]
pub struct ActorAddressCell<A> where
A: Actor,
A::Context: AsyncContext<A>, { /* fields omitted */ }
Methods
impl<A> ActorAddressCell<A> where
A: Actor,
A::Context: AsyncContext<A>,
[src]
A: Actor,
A::Context: AsyncContext<A>,
fn new(rx: UnboundedReceiver<Envelope<A>>) -> Self
[src]
fn close(&mut self)
[src]
fn connected(&mut self) -> bool
[src]
fn unsync_sender(&mut self) -> UnboundedSender<ContextProtocol<A>>
[src]
fn unsync_address(&mut self) -> Address<A>
[src]
fn sync_address(&mut self) -> SyncAddress<A>
[src]
fn poll(&mut self, act: &mut A, ctx: &mut A::Context)
[src]
Trait Implementations
impl<A> Default for ActorAddressCell<A> where
A: Actor,
A::Context: AsyncContext<A>,
[src]
A: Actor,
A::Context: AsyncContext<A>,