Struct actix::dev::Mailbox [−][src]
pub struct Mailbox<A> where
A: Actor,
A::Context: AsyncContext<A>, { /* fields omitted */ }
Methods
impl<A> Mailbox<A> where
A: Actor,
A::Context: AsyncContext<A>,
[src]
impl<A> Mailbox<A> where
A: Actor,
A::Context: AsyncContext<A>,
pub fn new(msgs: AddressReceiver<A>) -> Self
[src]
pub fn new(msgs: AddressReceiver<A>) -> Self
pub fn capacity(&self) -> usize
[src]
pub fn capacity(&self) -> usize
pub fn set_capacity(&mut self, cap: usize)
[src]
pub fn set_capacity(&mut self, cap: usize)
pub fn connected(&self) -> bool
[src]
pub fn connected(&self) -> bool
pub fn address(&self) -> Addr<A>
[src]
pub fn address(&self) -> Addr<A>
pub fn sender_producer(&self) -> AddressSenderProducer<A>
[src]
pub fn sender_producer(&self) -> AddressSenderProducer<A>
pub fn poll(&mut self, act: &mut A, ctx: &mut A::Context)
[src]
pub fn poll(&mut self, act: &mut A, ctx: &mut A::Context)