pub enum CacheEventValueMode {
MetadataOnly,
EncodedBytes,
}Expand description
Value payload mode requested by event subscribers.
The first implementation emits metadata-only events. The enum exists so the public filter shape can grow toward encoded-value delivery without changing subscription options later.
Variants§
MetadataOnly
Do not include cached values in events.
EncodedBytes
Reserve space for a future encoded-value event mode.
Trait Implementations§
Source§impl Clone for CacheEventValueMode
impl Clone for CacheEventValueMode
Source§fn clone(&self) -> CacheEventValueMode
fn clone(&self) -> CacheEventValueMode
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 CacheEventValueMode
Source§impl Debug for CacheEventValueMode
impl Debug for CacheEventValueMode
Source§impl Default for CacheEventValueMode
impl Default for CacheEventValueMode
Source§fn default() -> CacheEventValueMode
fn default() -> CacheEventValueMode
Returns the “default value” for a type. Read more
impl Eq for CacheEventValueMode
Source§impl Hash for CacheEventValueMode
impl Hash for CacheEventValueMode
Source§impl PartialEq for CacheEventValueMode
impl PartialEq for CacheEventValueMode
Source§fn eq(&self, other: &CacheEventValueMode) -> bool
fn eq(&self, other: &CacheEventValueMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CacheEventValueMode
Auto Trait Implementations§
impl Freeze for CacheEventValueMode
impl RefUnwindSafe for CacheEventValueMode
impl Send for CacheEventValueMode
impl Sync for CacheEventValueMode
impl Unpin for CacheEventValueMode
impl UnsafeUnpin for CacheEventValueMode
impl UnwindSafe for CacheEventValueMode
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