pub struct FileIdbBackend { /* private fields */ }Expand description
File-based IDB cache backend.
Implementations§
Trait Implementations§
Source§impl IdbBackend for FileIdbBackend
impl IdbBackend for FileIdbBackend
Source§fn load(&self, db_name: &str) -> Result<Option<(CacheMeta, IdbSnapshot)>>
fn load(&self, db_name: &str) -> Result<Option<(CacheMeta, IdbSnapshot)>>
Load a cached IDB snapshot for the given database.
Returns
None if no cache exists.Auto Trait Implementations§
impl Freeze for FileIdbBackend
impl RefUnwindSafe for FileIdbBackend
impl Send for FileIdbBackend
impl Sync for FileIdbBackend
impl Unpin for FileIdbBackend
impl UnsafeUnpin for FileIdbBackend
impl UnwindSafe for FileIdbBackend
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