Struct acto::MultiSender[][src]

pub struct MultiSender<T> { /* fields omitted */ }

A handle to send to an actor bound to an MPSC mailbox.

It can be cloned or shared.

Implementations

impl<T: Send + 'static> MultiSender<T>[src]

pub fn send(&self, msg: T) -> bool[src]

pub fn id(&self) -> ActorId[src]

Trait Implementations

impl<T: Clone> Clone for MultiSender<T>[src]

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

impl<T: Send + 'static> Supervisor<T> for MultiSender<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for MultiSender<T>[src]

impl<T> Send for MultiSender<T> where
    T: Send
[src]

impl<T> Sync for MultiSender<T> where
    T: Send
[src]

impl<T> Unpin for MultiSender<T>[src]

impl<T> !UnwindSafe for MultiSender<T>[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.