Struct keratin::storage::LocalFsStorage
source · pub struct LocalFsStorage;
Trait Implementations§
source§impl Clone for LocalFsStorage
impl Clone for LocalFsStorage
source§fn clone(&self) -> LocalFsStorage
fn clone(&self) -> LocalFsStorage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LocalFsStorage
impl Debug for LocalFsStorage
source§impl<T: Serialize + for<'de> Deserialize<'de>> StorageEngine<T> for LocalFsStorage
impl<T: Serialize + for<'de> Deserialize<'de>> StorageEngine<T> for LocalFsStorage
fn find_in_storage(&self, data_path: &str, key: &str) -> Option<T>
fn truncate_all(&self, data_path: &str) -> Result<()>
fn cache_entries( &self, data_path: &str, _coll_prefix: &str ) -> Result<HashMap<String, T>>
fn remove_entry(&self, data_path: &str, given_key: &str) -> Result<()>
fn write_record(&self, data_path: &str, entry: T, key: &str) -> Result<()>
Auto Trait Implementations§
impl Freeze for LocalFsStorage
impl RefUnwindSafe for LocalFsStorage
impl Send for LocalFsStorage
impl Sync for LocalFsStorage
impl Unpin for LocalFsStorage
impl UnwindSafe for LocalFsStorage
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