pub struct CacheObjectId {
pub cache_namespace: u32,
pub cache_key_hi: u64,
pub cache_key_lo: u64,
pub object_kind: CacheObjectKind,
}Fields§
§cache_namespace: u32§cache_key_hi: u64§cache_key_lo: u64§object_kind: CacheObjectKindImplementations§
Source§impl CacheObjectId
impl CacheObjectId
pub fn from_put(metadata: &CachePutMetadata) -> Self
pub fn matches_invalidate(&self, metadata: &CacheInvalidateMetadata) -> bool
Trait Implementations§
Source§impl Clone for CacheObjectId
impl Clone for CacheObjectId
Source§fn clone(&self) -> CacheObjectId
fn clone(&self) -> CacheObjectId
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 CacheObjectId
Source§impl Debug for CacheObjectId
impl Debug for CacheObjectId
impl Eq for CacheObjectId
Source§impl Ord for CacheObjectId
impl Ord for CacheObjectId
Source§fn cmp(&self, other: &CacheObjectId) -> Ordering
fn cmp(&self, other: &CacheObjectId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CacheObjectId
impl PartialEq for CacheObjectId
Source§impl PartialOrd for CacheObjectId
impl PartialOrd for CacheObjectId
impl StructuralPartialEq for CacheObjectId
Auto Trait Implementations§
impl Freeze for CacheObjectId
impl RefUnwindSafe for CacheObjectId
impl Send for CacheObjectId
impl Sync for CacheObjectId
impl Unpin for CacheObjectId
impl UnsafeUnpin for CacheObjectId
impl UnwindSafe for CacheObjectId
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