pub struct MismatchedEvent { /* private fields */ }Expand description
A different event type used to test type mismatch detection in read_stream.
Trait Implementations§
Source§impl Clone for MismatchedEvent
impl Clone for MismatchedEvent
Source§fn clone(&self) -> MismatchedEvent
fn clone(&self) -> MismatchedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MismatchedEvent
impl Debug for MismatchedEvent
Source§impl<'de> Deserialize<'de> for MismatchedEvent
impl<'de> Deserialize<'de> for MismatchedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for MismatchedEvent
impl Event for MismatchedEvent
Auto Trait Implementations§
impl Freeze for MismatchedEvent
impl RefUnwindSafe for MismatchedEvent
impl Send for MismatchedEvent
impl Sync for MismatchedEvent
impl Unpin for MismatchedEvent
impl UnsafeUnpin for MismatchedEvent
impl UnwindSafe for MismatchedEvent
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