pub enum StoreRecoveryCapability {
StableCommitReplay,
StableBasePlusJournalReplay,
None,
}Expand description
Store recovery capability.
Variants§
StableCommitReplay
Store contents can be recovered through stable commit replay.
StableBasePlusJournalReplay
Store contents can be recovered from canonical stable BTrees plus a committed journal tail.
None
Store contents are not recovered.
Implementations§
Trait Implementations§
Source§impl CandidType for StoreRecoveryCapability
impl CandidType for StoreRecoveryCapability
Source§impl Clone for StoreRecoveryCapability
impl Clone for StoreRecoveryCapability
Source§fn clone(&self) -> StoreRecoveryCapability
fn clone(&self) -> StoreRecoveryCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StoreRecoveryCapability
Source§impl Debug for StoreRecoveryCapability
impl Debug for StoreRecoveryCapability
Source§impl Default for StoreRecoveryCapability
impl Default for StoreRecoveryCapability
Source§fn default() -> StoreRecoveryCapability
fn default() -> StoreRecoveryCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoreRecoveryCapability
impl<'de> Deserialize<'de> for StoreRecoveryCapability
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
impl Eq for StoreRecoveryCapability
Source§impl PartialEq for StoreRecoveryCapability
impl PartialEq for StoreRecoveryCapability
Source§fn eq(&self, other: &StoreRecoveryCapability) -> bool
fn eq(&self, other: &StoreRecoveryCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreRecoveryCapability
Auto Trait Implementations§
impl Freeze for StoreRecoveryCapability
impl RefUnwindSafe for StoreRecoveryCapability
impl Send for StoreRecoveryCapability
impl Sync for StoreRecoveryCapability
impl Unpin for StoreRecoveryCapability
impl UnsafeUnpin for StoreRecoveryCapability
impl UnwindSafe for StoreRecoveryCapability
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