[][src]Struct actix::dev::Mailbox

pub struct Mailbox<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
{ /* fields omitted */ }

Implementations

impl<A> Mailbox<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
[src]

pub fn new(msgs: AddressReceiver<A>) -> Self[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::Context,
    task: &mut Context<'_>
)
[src]

Trait Implementations

impl<A> Debug for Mailbox<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
[src]

impl<A> Default for Mailbox<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for Mailbox<A>[src]

impl<A> Send for Mailbox<A>[src]

impl<A> Sync for Mailbox<A>[src]

impl<A> Unpin for Mailbox<A>[src]

impl<A> !UnwindSafe for Mailbox<A>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,