Struct pipe_chain::byte::TagByteError
source · pub struct TagByteError(pub u8, pub u8);Expand description
Tag error contains expected and found bytes
Tuple Fields§
§0: u8§1: u8Trait Implementations§
source§impl Clone for TagByteError
impl Clone for TagByteError
source§fn clone(&self) -> TagByteError
fn clone(&self) -> TagByteError
Returns a copy 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 TagByteError
impl Debug for TagByteError
source§impl Display for TagByteError
impl Display for TagByteError
source§impl Error for TagByteError
impl Error for TagByteError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<TagByteError> for Error
impl From<TagByteError> for Error
source§fn from(value: TagByteError) -> Self
fn from(value: TagByteError) -> Self
Converts to this type from the input type.
source§impl From<TagByteError> for PktLineError
impl From<TagByteError> for PktLineError
source§fn from(value: TagByteError) -> Self
fn from(value: TagByteError) -> Self
Converts to this type from the input type.
source§impl PartialEq for TagByteError
impl PartialEq for TagByteError
source§fn eq(&self, other: &TagByteError) -> bool
fn eq(&self, other: &TagByteError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TagByteError
impl StructuralEq for TagByteError
impl StructuralPartialEq for TagByteError
Auto Trait Implementations§
impl RefUnwindSafe for TagByteError
impl Send for TagByteError
impl Sync for TagByteError
impl Unpin for TagByteError
impl UnwindSafe for TagByteError
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