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