pub trait HasBytesVec {
    // Required methods
    fn bytes(&self) -> &[u8] ;
    fn bytes_mut(&mut self) -> &mut Vec<u8> ;
}
Expand description

Contains an internal bytes Vector

Required Methods§

source

fn bytes(&self) -> &[u8]

The internal bytes map

source

fn bytes_mut(&mut self) -> &mut Vec<u8>

The internal bytes map (as mutable borrow)

Implementors§