#[non_exhaustive]pub enum JournalRecoveryAction {
ReplayCommitted,
VerifyRevisionThenCompleteCommit,
None,
}Expand description
Action required to reconcile an interrupted durable commit on restore.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReplayCommitted
Commit already finalized; replay persisted response directly.
VerifyRevisionThenCompleteCommit
Verify the saved snapshot revision, then finalize the commit marker without re-executing.
None
No prepared journal entry exists; treat as a fresh request.
Trait Implementations§
Source§impl Clone for JournalRecoveryAction
impl Clone for JournalRecoveryAction
impl Copy for JournalRecoveryAction
Source§impl Debug for JournalRecoveryAction
impl Debug for JournalRecoveryAction
Source§impl<'de> Deserialize<'de> for JournalRecoveryAction
impl<'de> Deserialize<'de> for JournalRecoveryAction
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 JournalRecoveryAction
Source§impl PartialEq for JournalRecoveryAction
impl PartialEq for JournalRecoveryAction
Source§impl Serialize for JournalRecoveryAction
impl Serialize for JournalRecoveryAction
impl StructuralPartialEq for JournalRecoveryAction
Auto Trait Implementations§
impl Forget for JournalRecoveryAction
impl Freeze for JournalRecoveryAction
impl Move for JournalRecoveryAction
impl RefUnwindSafe for JournalRecoveryAction
impl Send for JournalRecoveryAction
impl Sync for JournalRecoveryAction
impl Unpin for JournalRecoveryAction
impl UnsafeUnpin for JournalRecoveryAction
impl UnwindSafe for JournalRecoveryAction
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