pub enum U16Be {}
Expand description
Unsigned 16-bit big endian binary type.
Trait Implementations§
source§impl ReadUnchecked for U16Be
impl ReadUnchecked for U16Be
source§impl<T> WriteBinary<T> for U16Be
impl<T> WriteBinary<T> for U16Be
impl Copy for U16Be
Auto Trait Implementations§
impl Freeze for U16Be
impl RefUnwindSafe for U16Be
impl Send for U16Be
impl Sync for U16Be
impl Unpin for U16Be
impl UnwindSafe for U16Be
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> ReadBinary for Twhere
T: ReadUnchecked,
impl<T> ReadBinary for Twhere
T: ReadUnchecked,
type HostType<'a> = <T as ReadUnchecked>::HostType
fn read<'a>( ctxt: &mut ReadCtxt<'a>, ) -> Result<<T as ReadBinary>::HostType<'a>, ParseError>
source§impl<T> ReadBinaryDep for Twhere
T: ReadBinary,
impl<T> ReadBinaryDep for Twhere
T: ReadBinary,
type Args<'a> = ()
type HostType<'a> = <T as ReadBinary>::HostType<'a>
fn read_dep<'a>( ctxt: &mut ReadCtxt<'a>, _: <T as ReadBinaryDep>::Args<'_>, ) -> Result<<T as ReadBinaryDep>::HostType<'a>, ParseError>
source§impl<T> ReadFixedSizeDep for Twhere
T: ReadUnchecked,
impl<T> ReadFixedSizeDep for Twhere
T: ReadUnchecked,
source§impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
§type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by
write_dep
.source§fn write_dep<C>(
ctxt: &mut C,
val: HostType,
_: <T as WriteBinaryDep<HostType>>::Args,
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
_: <T as WriteBinaryDep<HostType>>::Args,
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
Write the binary representation of Self to
ctxt
.