[][src]Trait tree_buf::primitive::BatchData

pub trait BatchData: Sized {
    fn read_batch(bytes: &[u8]) -> Vec<Self>;
fn write_batch(items: &[Self], bytes: &mut Vec<u8>); }

Required methods

fn read_batch(bytes: &[u8]) -> Vec<Self>

fn write_batch(items: &[Self], bytes: &mut Vec<u8>)

Loading content...

Implementors

impl BatchData for Array[src]

impl BatchData for Opt[src]

impl BatchData for Struct[src]

impl<'a, T: EzBytes + Copy + Debug> BatchData for T[src]

Loading content...