Trait blobstore::Store
[−]
[src]
pub trait Store { fn put(&self, item: &mut Read) -> Result<String, Error>; fn get(&self, hash: &str) -> Result<File, Error>; fn remove(&self, hash: &str) -> Result<(), Error>; }
Required Methods
fn put(&self, item: &mut Read) -> Result<String, Error>
fn get(&self, hash: &str) -> Result<File, Error>
fn remove(&self, hash: &str) -> Result<(), Error>
Implementors
impl Store for BlobStore