Struct webrender_api::channel::MsgSender
source · pub struct MsgSender<T> {
tx: Sender<T>,
}
Fields§
§tx: Sender<T>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)