pub struct InternalCacheKey(/* private fields */);Expand description
Opaque 128-bit key passed to cache backends.
The byte representation is canonical. It can be persisted directly and is independent of the host’s native integer endianness.
Implementations§
Trait Implementations§
Source§impl Clone for InternalCacheKey
impl Clone for InternalCacheKey
Source§fn clone(&self) -> InternalCacheKey
fn clone(&self) -> InternalCacheKey
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 InternalCacheKey
Source§impl Debug for InternalCacheKey
impl Debug for InternalCacheKey
impl Eq for InternalCacheKey
Source§impl Hash for InternalCacheKey
impl Hash for InternalCacheKey
Source§impl Ord for InternalCacheKey
impl Ord for InternalCacheKey
Source§fn cmp(&self, other: &InternalCacheKey) -> Ordering
fn cmp(&self, other: &InternalCacheKey) -> 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 InternalCacheKey
impl PartialEq for InternalCacheKey
Source§impl PartialOrd for InternalCacheKey
impl PartialOrd for InternalCacheKey
impl StructuralPartialEq for InternalCacheKey
Auto Trait Implementations§
impl Freeze for InternalCacheKey
impl RefUnwindSafe for InternalCacheKey
impl Send for InternalCacheKey
impl Sync for InternalCacheKey
impl Unpin for InternalCacheKey
impl UnsafeUnpin for InternalCacheKey
impl UnwindSafe for InternalCacheKey
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.