Trait packet::ContiguousBufferMutImpl
source · pub trait ContiguousBufferMutImpl: ContiguousBuffer + AsMut<[u8]> { }
Expand description
A helper trait to implement FragmentedBufferMut
and
ContiguousBufferMut
for any type that is AsMut<[u8]>
.
Implementers of ContiguousBufferMutImpl
will receive a blanket
implementation of FragmentedBufferMut
and ContiguousBufferMut
, where
the FragmentedBufferMut
implementation is optimized for contiguous
buffers.