packet

Trait ContiguousBufferMut

Source
pub trait ContiguousBufferMut:
    ContiguousBuffer
    + FragmentedBufferMut
    + AsMut<[u8]> { }
Expand description

A mutable buffer that is contiguous in memory.

If the implementing type is a buffer which exposes a prefix and a suffix, the AsMut implementation provides access only to the body.

ContiguousBufferMut is shorthand for ContiguousBuffer + FragmentedBufferMut + AsMut<[u8]>.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§