Struct infinitree::backends::Directory
source · [−]pub struct Directory { /* private fields */ }
Implementations
Trait Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more