pub struct FileBackend { /* private fields */ }Expand description
FileBackend data container.
Implementations§
Trait Implementations§
Source§impl ByteStorageBackend for FileBackend
impl ByteStorageBackend for FileBackend
Source§fn put_if_absent(&self, key: &str, value: &[u8]) -> StorageResult<bool>
fn put_if_absent(&self, key: &str, value: &[u8]) -> StorageResult<bool>
Updates or reads
put_if_absent.Source§impl Clone for FileBackend
impl Clone for FileBackend
Source§fn clone(&self) -> FileBackend
fn clone(&self) -> FileBackend
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FileBackend
impl RefUnwindSafe for FileBackend
impl Send for FileBackend
impl Sync for FileBackend
impl Unpin for FileBackend
impl UnsafeUnpin for FileBackend
impl UnwindSafe for FileBackend
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