Module byte_slice
Traits for types that encapsulate a [u8].
These traits are used to bound the B parameter of Ref.
Traits
- ByteSlice A mutable or immutable reference to a byte slice.
- ByteSliceMut A mutable reference to a byte slice.
-
CloneableByteSlice
A
ByteSlicewhich can be cloned without violating dereference stability. -
CopyableByteSlice
A
ByteSlicewhich can be copied without violating dereference stability. -
IntoByteSlice
A
ByteSlicethat conveys no ownership, and so can be converted into a byte slice. -
IntoByteSliceMut
A
ByteSliceMutthat conveys no ownership, and so can be converted into a mutable byte slice. -
SplitByteSlice
A
ByteSlicethat can be split in two. -
SplitByteSliceMut
A shorthand for
SplitByteSliceandByteSliceMut.