pub struct PersistentCacheKey<K> {
pub key: K,
/* private fields */
}Expand description
Persistent cache key
Fields§
§key: KThe autotune key identifying the operation.
Trait Implementations§
Source§impl<K> Clone for PersistentCacheKey<K>where
K: Clone,
impl<K> Clone for PersistentCacheKey<K>where
K: Clone,
Source§fn clone(&self) -> PersistentCacheKey<K>
fn clone(&self) -> PersistentCacheKey<K>
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 moreSource§impl<K> Debug for PersistentCacheKey<K>where
K: Debug,
impl<K> Debug for PersistentCacheKey<K>where
K: Debug,
Source§impl<'de, K> Deserialize<'de> for PersistentCacheKey<K>where
K: Deserialize<'de>,
impl<'de, K> Deserialize<'de> for PersistentCacheKey<K>where
K: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersistentCacheKey<K>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersistentCacheKey<K>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<K> Eq for PersistentCacheKey<K>where
K: Eq,
Source§impl<K> Hash for PersistentCacheKey<K>where
K: Hash,
impl<K> Hash for PersistentCacheKey<K>where
K: Hash,
Source§impl<K> PartialEq for PersistentCacheKey<K>where
K: PartialEq,
impl<K> PartialEq for PersistentCacheKey<K>where
K: PartialEq,
Source§impl<K> Serialize for PersistentCacheKey<K>where
K: Serialize,
impl<K> Serialize for PersistentCacheKey<K>where
K: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<K> StructuralPartialEq for PersistentCacheKey<K>where
K: PartialEq,
Auto Trait Implementations§
impl<K> Freeze for PersistentCacheKey<K>where
K: Freeze,
impl<K> RefUnwindSafe for PersistentCacheKey<K>where
K: RefUnwindSafe,
impl<K> Send for PersistentCacheKey<K>where
K: Send,
impl<K> Sync for PersistentCacheKey<K>where
K: Sync,
impl<K> Unpin for PersistentCacheKey<K>where
K: Unpin,
impl<K> UnsafeUnpin for PersistentCacheKey<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for PersistentCacheKey<K>where
K: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneExpand for Twhere
T: Clone,
impl<T> CloneExpand for Twhere
T: Clone,
fn __expand_clone_method(&self, _: &Scope) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg: CompilationArg>(&self) -> Arg
fn dynamic_cast<Arg: CompilationArg>(&self) -> Arg
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more