pub struct InvalidTag(pub u8);
Expand description
Error value representing failure to decode a byte into a Tag.
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Debug for InvalidTag
impl Debug for InvalidTag
source§impl From<InvalidTag> for Error
impl From<InvalidTag> for Error
source§fn from(v: InvalidTag) -> Self
fn from(v: InvalidTag) -> Self
Converts to this type from the input type.
source§impl From<InvalidTag> for Error
impl From<InvalidTag> for Error
source§fn from(v: InvalidTag) -> Self
fn from(v: InvalidTag) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidTag
impl PartialEq for InvalidTag
source§fn eq(&self, other: &InvalidTag) -> bool
fn eq(&self, other: &InvalidTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidTag
impl StructuralPartialEq for InvalidTag
Auto Trait Implementations§
impl Freeze for InvalidTag
impl RefUnwindSafe for InvalidTag
impl Send for InvalidTag
impl Sync for InvalidTag
impl Unpin for InvalidTag
impl UnwindSafe for InvalidTag
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