pub trait Store {
// Required methods
fn put(&self, item: &mut dyn Read) -> Result<String, Error>;
fn get(&self, hash: &str) -> Result<File, Error>;
fn remove(&self, hash: &str) -> Result<(), Error>;
}
pub trait Store {
// Required methods
fn put(&self, item: &mut dyn Read) -> Result<String, Error>;
fn get(&self, hash: &str) -> Result<File, Error>;
fn remove(&self, hash: &str) -> Result<(), Error>;
}