pub trait BytesPush {
// Required method
fn extend<I: IntoIterator<Item = Bytes>>(&mut self, iter: I);
}
Expand description
A target for Bytes
.
Required Methods§
Sourcefn extend<I: IntoIterator<Item = Bytes>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = Bytes>>(&mut self, iter: I)
Pushes many bytes at the instance.
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.