Struct infinitree::backends::Directory
source · pub struct Directory { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Backend for Directory
impl Backend for Directory
fn write_object(&self, object: &WriteObject) -> Result<()>
fn read_object(&self, id: &ObjectId) -> Result<Arc<ReadObject>>
fn delete(&self, objects: &[ObjectId]) -> Result<()>
fn preload(&self, _objects: &[ObjectId]) -> Result<()>
fn sync(&self) -> Result<()>
fn read_fresh(&self, id: &ObjectId) -> Result<Arc<ReadObject>>
fn keep_warm(&self, _objects: &[ObjectId]) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnwindSafe for Directory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more