pub enum EntryEventSource {
Stored,
Removed,
KeyInvalidated,
TagInvalidated,
Flushed,
Expired,
Evicted,
StaleLoadDiscarded,
Unknown,
}Expand description
Source signal that can be projected into an IMap entry event kind.
Variants§
Stored
A value was written, but the signal does not prove whether it was add or update.
Removed
A value was explicitly removed or tombstoned.
KeyInvalidated
A key was invalidated without a stronger transition reason.
TagInvalidated
A tag invalidated one or more keys.
Flushed
A whole cache/namespace was flushed.
Expired
A value expired.
Evicted
A value was evicted.
StaleLoadDiscarded
A stale loader result was discarded.
Unknown
Unknown or transport-specific signal.
Trait Implementations§
Source§impl Clone for EntryEventSource
impl Clone for EntryEventSource
Source§fn clone(&self) -> EntryEventSource
fn clone(&self) -> EntryEventSource
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 EntryEventSource
Source§impl Debug for EntryEventSource
impl Debug for EntryEventSource
Source§impl<'de> Deserialize<'de> for EntryEventSource
impl<'de> Deserialize<'de> for EntryEventSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EntryEventSource
Source§impl PartialEq for EntryEventSource
impl PartialEq for EntryEventSource
Source§fn eq(&self, other: &EntryEventSource) -> bool
fn eq(&self, other: &EntryEventSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntryEventSource
impl Serialize for EntryEventSource
impl StructuralPartialEq for EntryEventSource
Auto Trait Implementations§
impl Freeze for EntryEventSource
impl RefUnwindSafe for EntryEventSource
impl Send for EntryEventSource
impl Sync for EntryEventSource
impl Unpin for EntryEventSource
impl UnsafeUnpin for EntryEventSource
impl UnwindSafe for EntryEventSource
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