packet

Trait BufferMut

Source
pub trait BufferMut:
    GrowBufferMut
    + ParseBufferMut
    + Buffer { }
Expand description

A byte buffer used for parsing and serialization.

BufferMut is a shorthand for GrowBufferMut + ParseBufferMut. A BufferMut can be used for parsing (via ParseBufferMut) and serialization (via GrowBufferMut).

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§