BytesTypeMut

Trait BytesTypeMut 

Source
pub trait BytesTypeMut: Sized {
    // Required methods
    fn push(&mut self, c: u8);
    fn extend_from_slice(&mut self, bytes: &[u8]);
    fn len(&self) -> usize;
}

Required Methods§

Source

fn push(&mut self, c: u8)

Source

fn extend_from_slice(&mut self, bytes: &[u8])

Source

fn len(&self) -> usize

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.

Implementations on Foreign Types§

Source§

impl BytesTypeMut for Vec<u8>

Source§

fn push(&mut self, c: u8)

Source§

fn extend_from_slice(&mut self, bytes: &[u8])

Source§

fn len(&self) -> usize

Implementors§