pub enum DiffEntry {
Added {
key: ProllyKey,
value: Cid,
},
Removed {
key: ProllyKey,
value: Cid,
},
Changed {
key: ProllyKey,
before: Cid,
after: Cid,
},
}Expand description
A single difference between two Prolly trees.
Variants§
Added
Key is present in b but not a.
Removed
Key is present in a but not b.
Changed
Key is present in both trees but with different value CIDs.
Implementations§
Trait Implementations§
impl Eq for DiffEntry
impl StructuralPartialEq for DiffEntry
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin for DiffEntry
impl UnwindSafe for DiffEntry
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