Skip to main content

BytesPush

pub trait BytesPush {
    // Required method
    fn extend<I: IntoIterator<Item = Bytes>>(&mut self, iter: I);
}
Expand description

A target for Bytes.

Required Methods§

Source

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".

Implementors§