[][src]Trait read_write::VecIO

pub trait VecIO {
    fn write_vec_to_file<T>(&mut self, data: &Vec<T>) -> Result<()>;
fn read_vec_from_file<T>(&mut self) -> Result<Vec<T>>; }

object used to extend functionality of File used for reading and writing byte vectors to files

Required methods

fn write_vec_to_file<T>(&mut self, data: &Vec<T>) -> Result<()>

fn read_vec_from_file<T>(&mut self) -> Result<Vec<T>>

Loading content...

Implementations on Foreign Types

impl VecIO for File[src]

fn write_vec_to_file<T>(&mut self, data: &Vec<T>) -> Result<()>[src]

Writes a vector of type T to file as bytes

fn read_vec_from_file<T>(&mut self) -> Result<Vec<T>>[src]

Reads a Vector of type T from file

Loading content...

Implementors

Loading content...