pub struct Message { /* private fields */ }Expand description
A message that can be sent to a worker thread.
You don’t need to implement this trait. It is a wrapper for rmp_serde encoded data that you sent. This message contains the data to be processed and an result channel. The result channel is used to send the result back to the sender.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl !RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl !UnwindSafe for 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