pub struct Mailbox<Message> { /* private fields */ }Expand description
A mailbox can deliver messages to a running douglas program. This is typically used to send messages outside of the normal application lifecycle, e.g. on a recurring basis or in response to external stimuli.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Message> Freeze for Mailbox<Message>
impl<Message> RefUnwindSafe for Mailbox<Message>
impl<Message> Send for Mailbox<Message>where
Message: Send,
impl<Message> Sync for Mailbox<Message>where
Message: Send,
impl<Message> Unpin for Mailbox<Message>
impl<Message> UnwindSafe for Mailbox<Message>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more