pub struct MsgReceiver<T> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for MsgReceiver<T>
impl<'de, T> Deserialize<'de> for MsgReceiver<T>
Source§fn deserialize<D>(_: D) -> Result<MsgReceiver<T>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(_: D) -> Result<MsgReceiver<T>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> Serialize for MsgReceiver<T>
These serialize methods are needed to satisfy the compiler
which uses these implementations for IPC, and also for the
recording tool. The recording tool only outputs messages
that don’t contain Senders or Receivers, so in theory
these should never be called in the in-process config.
If they are called, there may be a bug in the messages
that the replay tool is writing.
impl<T> Serialize for MsgReceiver<T>
These serialize methods are needed to satisfy the compiler which uses these implementations for IPC, and also for the recording tool. The recording tool only outputs messages that don’t contain Senders or Receivers, so in theory these should never be called in the in-process config. If they are called, there may be a bug in the messages that the replay tool is writing.
Auto Trait Implementations§
impl<T> Freeze for MsgReceiver<T>
impl<T> RefUnwindSafe for MsgReceiver<T>
impl<T> Send for MsgReceiver<T>where
T: Send,
impl<T> !Sync for MsgReceiver<T>
impl<T> Unpin for MsgReceiver<T>
impl<T> UnwindSafe for MsgReceiver<T>
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