pub struct InvalidPacket { /* private fields */ }Trait Implementations§
Source§impl Debug for InvalidPacket
impl Debug for InvalidPacket
Source§impl Display for InvalidPacket
impl Display for InvalidPacket
Source§impl Error for InvalidPacket
impl Error for InvalidPacket
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for InvalidPacket
impl RefUnwindSafe for InvalidPacket
impl Send for InvalidPacket
impl Sync for InvalidPacket
impl Unpin for InvalidPacket
impl UnsafeUnpin for InvalidPacket
impl UnwindSafe for InvalidPacket
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