pub struct Inbox<M: Send + 'static> { /* private fields */ }Expand description
A one-shot-style receive handle useful in tests and top-level main code.
Implementations§
Auto Trait Implementations§
impl<M> Freeze for Inbox<M>
impl<M> !RefUnwindSafe for Inbox<M>
impl<M> Send for Inbox<M>
impl<M> Sync for Inbox<M>
impl<M> Unpin for Inbox<M>
impl<M> UnsafeUnpin for Inbox<M>
impl<M> !UnwindSafe for Inbox<M>
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