pub struct BeU16;Expand description
Big-endian u16 codec.
Trait Implementations§
impl Copy for BeU16
impl Eq for BeU16
Source§impl FixedCodec for BeU16
impl FixedCodec for BeU16
Source§type Value<'wire> = u16
where
Self: 'wire
type Value<'wire> = u16 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 BeU16
impl Ord for BeU16
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 BeU16
impl PartialOrd for BeU16
impl StructuralPartialEq for BeU16
Auto Trait Implementations§
impl Freeze for BeU16
impl RefUnwindSafe for BeU16
impl Send for BeU16
impl Sync for BeU16
impl Unpin for BeU16
impl UnsafeUnpin for BeU16
impl UnwindSafe for BeU16
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