Skip to main content

BytesPush

Trait BytesPush 

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

A target for Bytes.

Required Methods§

Source

fn extend<I>(&mut self, iter: I)
where I: IntoIterator<Item = Bytes>,

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§