pub struct FileSystemStorage { /* private fields */ }
Trait Implementations§
Source§impl Clone for FileSystemStorage
impl Clone for FileSystemStorage
Source§fn clone(&self) -> FileSystemStorage
fn clone(&self) -> FileSystemStorage
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 DataStorage for FileSystemStorage
impl DataStorage for FileSystemStorage
fn new() -> Self
fn config(&self, config: HashMap<String, String>) -> Self
fn get( &self, namespace: Namespace, key: &str, ) -> Result<Option<Vec<u8>>, String>
fn get_all( &self, _namespace: Namespace, ) -> Result<HashMap<String, Vec<u8>>, String>
fn insert( &mut self, namespace: Namespace, key: &str, value: &[u8], ) -> Result<(), String>
fn open(_path: &str) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for FileSystemStorage
impl RefUnwindSafe for FileSystemStorage
impl Send for FileSystemStorage
impl Sync for FileSystemStorage
impl Unpin for FileSystemStorage
impl UnwindSafe for FileSystemStorage
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