pub enum SyncOpt {
SyncOnDrop,
ManualSync,
}Expand description
Options controlling syncing, ensuring that the DirCache’s state kept in memory is committed to disk.
Unnecessary if all keys are not written with MemPushOpt::MemoryOnly
Variants§
Trait Implementations§
impl Copy for SyncOpt
Auto Trait Implementations§
impl Freeze for SyncOpt
impl RefUnwindSafe for SyncOpt
impl Send for SyncOpt
impl Sync for SyncOpt
impl Unpin for SyncOpt
impl UnwindSafe for SyncOpt
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