[][src]Struct comp_state::mailbox::MailboxControl

pub struct MailboxControl<T> where
    T: Clone + 'static, 
{ pub id: Id, // some fields omitted }

Fields

id: Id

Methods

impl<T> MailboxControl<T> where
    T: Clone + 'static, 
[src]

pub fn new(id: Id) -> MailboxControl<T>[src]

pub fn send<M: Clone + 'static>(&self, other_id: Id, message: M)[src]

pub fn pop(&self) -> Option<(Id, T)>[src]

Trait Implementations

impl<T: Clone> Clone for MailboxControl<T> where
    T: Clone + 'static, 
[src]

Auto Trait Implementations

impl<T> Send for MailboxControl<T> where
    T: Send

impl<T> Sync for MailboxControl<T> where
    T: Sync

impl<T> Unpin for MailboxControl<T> where
    T: Unpin

impl<T> UnwindSafe for MailboxControl<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for MailboxControl<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]