pub enum ApplyOutcome {
NotMatched,
Inserted,
Replaced(DiskLoc),
TombstoneRemoved(DiskLoc),
}Expand description
Outcome of applying a replicated entry to a target.
Variants§
NotMatched
CRC mismatch or key_len mismatch — entry did not belong to this target.
Inserted
Fresh insert (no prior key). No dead bytes.
Replaced(DiskLoc)
Existing key overwritten; old DiskLoc retired.
TombstoneRemoved(DiskLoc)
Tombstone removed a live key; old DiskLoc retired.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApplyOutcome
impl RefUnwindSafe for ApplyOutcome
impl Send for ApplyOutcome
impl Sync for ApplyOutcome
impl Unpin for ApplyOutcome
impl UnsafeUnpin for ApplyOutcome
impl UnwindSafe for ApplyOutcome
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