pub enum Change {
Set(Option<String>),
Removed(Option<String>),
Evicted(Option<String>),
}Expand description
One change to the store. Ids are None for the root record.
Variants§
Set(Option<String>)
The record was created or replaced.
Removed(Option<String>)
The record was removed by clear, a lifetime event, or a reset.
Evicted(Option<String>)
The record was removed to make room under the record cap.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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