[−][src]Struct actix_web::actix::dev::Mailbox
Methods
impl<A> Mailbox<A> where
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
[src]
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
pub fn new(msgs: AddressReceiver<A>) -> Mailbox<A>
[src]
pub fn capacity(&self) -> usize
[src]
pub fn set_capacity(&mut self, cap: usize)
[src]
pub fn connected(&self) -> bool
[src]
pub fn address(&self) -> Addr<A>
[src]
pub fn sender_producer(&self) -> AddressSenderProducer<A>
[src]
pub fn poll(&mut self, act: &mut A, ctx: &mut <A as Actor>::Context)
[src]
Trait Implementations
impl<A> Debug for Mailbox<A> where
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
[src]
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
impl<A> Default for Mailbox<A> where
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
[src]
A: Actor,
<A as Actor>::Context: AsyncContext<A>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.