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;
}
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;
}