pub enum DumpPolicy {
NeverDump,
AutoDump,
DumpRelyRequest,
PeriodicDump(Duration),
}Expand description
An enum that determines the policy of dumping DocDb changes into the file
Variants§
NeverDump
Never dump any change, file will always remain read-only
AutoDump
DumpRelyRequest
PeriodicDump(Duration)
Auto Trait Implementations§
impl Freeze for DumpPolicy
impl RefUnwindSafe for DumpPolicy
impl Send for DumpPolicy
impl Sync for DumpPolicy
impl Unpin for DumpPolicy
impl UnwindSafe for DumpPolicy
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