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
ByteSlicewhich can be cloned without violating dereference stability. - A
ByteSlicewhich can be copied without violating dereference stability. - A
ByteSlicethat conveys no ownership, and so can be converted into a byte slice. - A
ByteSliceMutthat conveys no ownership, and so can be converted into a mutable byte slice. - A
ByteSlicethat can be split in two. - A shorthand for
SplitByteSliceandByteSliceMut.