pub struct FileCave { /* private fields */ }Expand description
A key-value store that stores keys in files.
This kv stores keys as files in a directory. Note that the directory must exist.
§Caveats
This kv has the following caveats:
- It doesn’t perform a sync operation after every set/delete.
- It doesn’t create multi-level directories, e.g.,
fi/le/name, to improve filesystem lookups.
Consider using it when you want to audit which keys are created using
external tools, such as ls, cat.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileCave
impl RefUnwindSafe for FileCave
impl Send for FileCave
impl Sync for FileCave
impl Unpin for FileCave
impl UnwindSafe for FileCave
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