Trait packet::ContiguousBuffer
source · pub trait ContiguousBuffer: AsRef<[u8]> { }
Expand description
A buffer that is contiguous in memory.
If the implementing type is a buffer which exposes a prefix and a suffix,
the AsRef
implementation provides access only to the body.