Trait Reader

Source
pub trait Reader {
    // Required methods
    fn from_path<P>(path: P) -> Result<Self>
       where P: AsRef<Path>,
             Self: Sized;
    fn read(self) -> Result<Vec<u8>>
       where Self: Sized;
}

Required Methods§

Source

fn from_path<P>(path: P) -> Result<Self>
where P: AsRef<Path>, Self: Sized,

Source

fn read(self) -> Result<Vec<u8>>
where Self: Sized,

Implementors§