Expand description
Traits for types that encapsulate a [u8]
.
These traits are used to bound the B
parameter of Ref
.
Traitsยง
- A mutable or immutable reference to a byte slice.
- A mutable reference to a byte slice.
- A
ByteSlice
which can be cloned without violating dereference stability. - A
ByteSlice
which can be copied without violating dereference stability. - A
ByteSlice
that conveys no ownership, and so can be converted into a byte slice. - A
ByteSliceMut
that conveys no ownership, and so can be converted into a mutable byte slice. - A
ByteSlice
that can be split in two. - A shorthand for
SplitByteSlice
andByteSliceMut
.