Struct packet_formats::error::UnrecognizedProtocolCode
source · pub struct UnrecognizedProtocolCode<T>(pub T);
Expand description
Error type for an unrecognized protocol code of type T
.
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Debug> Debug for UnrecognizedProtocolCode<T>
impl<T: Debug> Debug for UnrecognizedProtocolCode<T>
source§impl<T: PartialEq> PartialEq for UnrecognizedProtocolCode<T>
impl<T: PartialEq> PartialEq for UnrecognizedProtocolCode<T>
source§fn eq(&self, other: &UnrecognizedProtocolCode<T>) -> bool
fn eq(&self, other: &UnrecognizedProtocolCode<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for UnrecognizedProtocolCode<T>
impl<T> StructuralPartialEq for UnrecognizedProtocolCode<T>
Auto Trait Implementations§
impl<T> Freeze for UnrecognizedProtocolCode<T>where
T: Freeze,
impl<T> RefUnwindSafe for UnrecognizedProtocolCode<T>where
T: RefUnwindSafe,
impl<T> Send for UnrecognizedProtocolCode<T>where
T: Send,
impl<T> Sync for UnrecognizedProtocolCode<T>where
T: Sync,
impl<T> Unpin for UnrecognizedProtocolCode<T>where
T: Unpin,
impl<T> UnwindSafe for UnrecognizedProtocolCode<T>where
T: UnwindSafe,
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