pub enum RecoveryFrequency {
OnScopeClose,
OnMutation,
Manual,
}Expand description
Frequency for recovery checkpoints.
Variants§
OnScopeClose
Create checkpoint when scope closes
OnMutation
Create checkpoint on every mutation
Manual
Manual checkpoint creation only
Trait Implementations§
Source§impl Clone for RecoveryFrequency
impl Clone for RecoveryFrequency
Source§fn clone(&self) -> RecoveryFrequency
fn clone(&self) -> RecoveryFrequency
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 moreSource§impl Debug for RecoveryFrequency
impl Debug for RecoveryFrequency
Source§impl<'de> Deserialize<'de> for RecoveryFrequency
impl<'de> Deserialize<'de> for RecoveryFrequency
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RecoveryFrequency
impl Hash for RecoveryFrequency
Source§impl PartialEq for RecoveryFrequency
impl PartialEq for RecoveryFrequency
Source§impl Serialize for RecoveryFrequency
impl Serialize for RecoveryFrequency
impl Copy for RecoveryFrequency
impl Eq for RecoveryFrequency
impl StructuralPartialEq for RecoveryFrequency
Auto Trait Implementations§
impl Freeze for RecoveryFrequency
impl RefUnwindSafe for RecoveryFrequency
impl Send for RecoveryFrequency
impl Sync for RecoveryFrequency
impl Unpin for RecoveryFrequency
impl UnwindSafe for RecoveryFrequency
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.