pub struct SubHeader { /* private fields */ }
Trait Implementations
sourceimpl PartialOrd<SubHeader> for SubHeader
impl PartialOrd<SubHeader> for SubHeader
sourcefn partial_cmp(&self, other: &SubHeader) -> Option<Ordering>
fn partial_cmp(&self, other: &SubHeader) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SubHeader
impl StructuralPartialEq for SubHeader
Auto Trait Implementations
impl RefUnwindSafe for SubHeader
impl Send for SubHeader
impl Sync for SubHeader
impl Unpin for SubHeader
impl UnwindSafe for SubHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> ReadBinary<'a> for Twhere
T: ReadUnchecked<'a>,
impl<'a, T> ReadBinary<'a> for Twhere
T: ReadUnchecked<'a>,
type HostType = <T as ReadUnchecked<'a>>::HostType
fn read(
ctxt: &mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
sourceimpl<'a, T> ReadBinaryDep<'a> for Twhere
T: ReadBinary<'a>,
impl<'a, T> ReadBinaryDep<'a> for Twhere
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
sourceimpl<'a, T> ReadFixedSizeDep<'a> for Twhere
T: ReadUnchecked<'a>,
impl<'a, T> ReadFixedSizeDep<'a> for Twhere
T: ReadUnchecked<'a>,
sourceimpl<'a, T> ReadUnchecked<'a> for Twhere
T: ReadFrom<'a>,
impl<'a, T> ReadUnchecked<'a> for Twhere
T: ReadFrom<'a>,
type HostType = T
sourceunsafe fn read_unchecked(
ctxt: &mut ReadCtxt<'a>
) -> <T as ReadUnchecked<'a>>::HostType
unsafe fn read_unchecked(
ctxt: &mut ReadCtxt<'a>
) -> <T as ReadUnchecked<'a>>::HostType
Must read exactly
SIZE
bytes.
Unsafe as it avoids prohibitively expensive per-byte bounds checking. Read more