Struct HeaderSliceWithLengthProtected
Source pub struct HeaderSliceWithLengthProtected<H, T> { }
Expand description
A type wrapping HeaderSlice<HeaderWithLength<H>, T> that is used internally in ThinArc.
§Safety
Safety-usable invariants:
- This is guaranteed to have the same representation as
HeaderSlice<HeaderWithLength<H>, [T]>
- The header length (
.length()) is checked to be the slice length
Formats the value using the given formatter.
Read more
This method returns an ordering between
self and
other values if one exists.
Read more
Tests less than (for
self and
other) and is used by the
< operator.
Read more
Tests less than or equal to (for
self and
other) and is used by the
<= operator.
Read more
Tests greater than (for
self and
other) and is used by the
>
operator.
Read more
Tests greater than or equal to (for
self and
other) and is used by
the
>= operator.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more