pub trait BufsMut: BufMut { // Required method fn push(&mut self, bytes: impl Into<Bytes>); }
A BufMut that can also append pre-existing Bytes chunks.
BufMut
Bytes
Appends a Bytes chunk instead of writing its contents inline into the destination buffer.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".