pub enum Delta {
Set {
key: EncodedKey,
values: EncodedValues,
},
Remove {
key: EncodedKey,
},
}Variants§
Implementations§
Source§impl Delta
impl Delta
Sourcepub fn key(&self) -> &EncodedKey
pub fn key(&self) -> &EncodedKey
Returns the key
Sourcepub fn values(&self) -> Option<&EncodedValues>
pub fn values(&self) -> Option<&EncodedValues>
Returns the encoded, if None, it means the entry is marked as remove.
Trait Implementations§
Source§impl Ord for Delta
impl Ord for Delta
Source§impl PartialOrd for Delta
impl PartialOrd for Delta
impl Eq for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnwindSafe for Delta
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