pub struct NotSevenBit(pub u8);Expand description
A byte that must be 7-bit had its high bit set.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for NotSevenBit
impl Clone for NotSevenBit
impl Copy for NotSevenBit
Source§impl Debug for NotSevenBit
impl Debug for NotSevenBit
Source§impl Display for NotSevenBit
impl Display for NotSevenBit
impl Eq for NotSevenBit
Source§impl Error for NotSevenBit
impl Error for NotSevenBit
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()
Source§impl PartialEq for NotSevenBit
impl PartialEq for NotSevenBit
impl StructuralPartialEq for NotSevenBit
Auto Trait Implementations§
impl Freeze for NotSevenBit
impl RefUnwindSafe for NotSevenBit
impl Send for NotSevenBit
impl Sync for NotSevenBit
impl Unpin for NotSevenBit
impl UnsafeUnpin for NotSevenBit
impl UnwindSafe for NotSevenBit
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