pub struct CorruptData;Expand description
Signals that incoming reliable data was malformed. The session should respond by
terminating the connection as DisconnectReason::CorruptPacket.
Trait Implementations§
Source§impl Clone for CorruptData
impl Clone for CorruptData
Source§fn clone(&self) -> CorruptData
fn clone(&self) -> CorruptData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CorruptData
Source§impl Debug for CorruptData
impl Debug for CorruptData
impl Eq for CorruptData
Source§impl PartialEq for CorruptData
impl PartialEq for CorruptData
Source§fn eq(&self, other: &CorruptData) -> bool
fn eq(&self, other: &CorruptData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CorruptData
Auto Trait Implementations§
impl Freeze for CorruptData
impl RefUnwindSafe for CorruptData
impl Send for CorruptData
impl Sync for CorruptData
impl Unpin for CorruptData
impl UnsafeUnpin for CorruptData
impl UnwindSafe for CorruptData
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