pub struct MsgSender<T> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for MsgSender<T>
impl<'de, T> Deserialize<'de> for MsgSender<T>
Source§fn deserialize<D>(_: D) -> Result<MsgSender<T>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(_: D) -> Result<MsgSender<T>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> Serialize for MsgSender<T>
impl<T> Serialize for MsgSender<T>
These serialize methods are needed to satisfy the compiler which uses these implementations 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 MsgSender<T>
impl<T> RefUnwindSafe for MsgSender<T>
impl<T> Send for MsgSender<T>where
T: Send,
impl<T> Sync for MsgSender<T>where
T: Send,
impl<T> Unpin for MsgSender<T>
impl<T> UnwindSafe for MsgSender<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