pub struct FileCache {
pub path: PathBuf,
}Expand description
Options for the built-in file-backed cache.
Future tunables (cache size, durability, …) are added here, defaulted — never as new constructor arguments.
Fields§
§path: PathBufPath to the redb database file (created if missing).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileCache
impl RefUnwindSafe for FileCache
impl Send for FileCache
impl Sync for FileCache
impl Unpin for FileCache
impl UnsafeUnpin for FileCache
impl UnwindSafe for FileCache
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