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>
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