pub enum InRedoResult {
Inserted,
Replaced,
Skipped,
NotInTree,
DeserializeFailed,
}Expand description
Result of a single recover_in_redo call.
JE traces the same outcomes in RecoveryManager debug logging.
Variants§
Inserted
Node was inserted as the new root.
Replaced
Node replaced an older version in the tree.
Skipped
Node not applied: tree already holds an equal or newer version.
NotInTree
Node not found in tree (parent logged later structure that excludes it).
DeserializeFailed
Deserialisation of node_data bytes failed.
Trait Implementations§
Source§impl Clone for InRedoResult
impl Clone for InRedoResult
Source§fn clone(&self) -> InRedoResult
fn clone(&self) -> InRedoResult
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 InRedoResult
Source§impl Debug for InRedoResult
impl Debug for InRedoResult
impl Eq for InRedoResult
Source§impl PartialEq for InRedoResult
impl PartialEq for InRedoResult
Source§fn eq(&self, other: &InRedoResult) -> bool
fn eq(&self, other: &InRedoResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InRedoResult
Auto Trait Implementations§
impl Freeze for InRedoResult
impl RefUnwindSafe for InRedoResult
impl Send for InRedoResult
impl Sync for InRedoResult
impl Unpin for InRedoResult
impl UnsafeUnpin for InRedoResult
impl UnwindSafe for InRedoResult
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.