pub struct U8;Expand description
One-byte unsigned integer codec.
Trait Implementations§
impl Copy for U8
impl Eq for U8
Source§impl FixedCodec for U8
impl FixedCodec for U8
Source§type Value<'wire> = u8
where
Self: 'wire
type Value<'wire> = u8 where Self: 'wire
Semantic value represented by an exact-width wire representation.
Source§type EncodeError = Infallible
type EncodeError = Infallible
Error returned while preparing an encoded value.
Source§impl Ord for U8
impl Ord for U8
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for U8
impl PartialOrd for U8
impl StructuralPartialEq for U8
Auto Trait Implementations§
impl Freeze for U8
impl RefUnwindSafe for U8
impl Send for U8
impl Sync for U8
impl Unpin for U8
impl UnsafeUnpin for U8
impl UnwindSafe for U8
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