Struct dyn_cache::CacheEntry [−][src]
pub struct CacheEntry<'k, Key: ?Sized, Scope, Input, Output, H = DefaultHashBuilder> { /* fields omitted */ }
A fully-initialized input/output entry, ready to be written to the cache.
Obtained from CacheMiss::init
and passed to local::LocalCache::store
or sync::SendCache::store
.
Trait Implementations
impl<'k, Key: Clone + ?Sized, Scope: Clone, Input: Clone, Output: Clone, H: Clone> Clone for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: Clone + ?Sized, Scope: Clone, Input: Clone, Output: Clone, H: Clone> Clone for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]fn clone(&self) -> CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'k, Key: Debug + ?Sized, Scope: Debug, Input: Debug, Output: Debug, H: Debug> Debug for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: Debug + ?Sized, Scope: Debug, Input: Debug, Output: Debug, H: Debug> Debug for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]impl<'k, Key: Eq + ?Sized, Scope: Eq, Input: Eq, Output: Eq, H: Eq> Eq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: Eq + ?Sized, Scope: Eq, Input: Eq, Output: Eq, H: Eq> Eq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]impl<'k, Key: PartialEq + ?Sized, Scope: PartialEq, Input: PartialEq, Output: PartialEq, H: PartialEq> PartialEq<CacheEntry<'k, Key, Scope, Input, Output, H>> for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: PartialEq + ?Sized, Scope: PartialEq, Input: PartialEq, Output: PartialEq, H: PartialEq> PartialEq<CacheEntry<'k, Key, Scope, Input, Output, H>> for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]fn eq(&self, other: &CacheEntry<'k, Key, Scope, Input, Output, H>) -> bool
[src]
fn ne(&self, other: &CacheEntry<'k, Key, Scope, Input, Output, H>) -> bool
[src]
impl<'k, Key: ?Sized, Scope, Input, Output, H> StructuralEq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: ?Sized, Scope, Input, Output, H> StructuralEq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]impl<'k, Key: ?Sized, Scope, Input, Output, H> StructuralPartialEq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]
impl<'k, Key: ?Sized, Scope, Input, Output, H> StructuralPartialEq for CacheEntry<'k, Key, Scope, Input, Output, H>
[src]Auto Trait Implementations
impl<'k, Key, Scope, Input, Output, H = RandomState> !RefUnwindSafe for CacheEntry<'k, Key, Scope, Input, Output, H>
impl<'k, Key, Scope, Input, Output, H = RandomState> !RefUnwindSafe for CacheEntry<'k, Key, Scope, Input, Output, H>
impl<'k, Key: ?Sized, Scope, Input, Output, H> Send for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Send,
Input: Send,
Key: Sync,
Output: Send,
Scope: Send,
impl<'k, Key: ?Sized, Scope, Input, Output, H> Send for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Send,
Input: Send,
Key: Sync,
Output: Send,
Scope: Send,
impl<'k, Key: ?Sized, Scope, Input, Output, H> Sync for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Sync,
Input: Sync,
Key: Sync,
Output: Sync,
Scope: Sync,
impl<'k, Key: ?Sized, Scope, Input, Output, H> Sync for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Sync,
Input: Sync,
Key: Sync,
Output: Sync,
Scope: Sync,
impl<'k, Key: ?Sized, Scope, Input, Output, H> Unpin for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Unpin,
Input: Unpin,
Output: Unpin,
Scope: Unpin,
impl<'k, Key: ?Sized, Scope, Input, Output, H> Unpin for CacheEntry<'k, Key, Scope, Input, Output, H> where
H: Unpin,
Input: Unpin,
Output: Unpin,
Scope: Unpin,
impl<'k, Key, Scope, Input, Output, H = RandomState> !UnwindSafe for CacheEntry<'k, Key, Scope, Input, Output, H>
impl<'k, Key, Scope, Input, Output, H = RandomState> !UnwindSafe for CacheEntry<'k, Key, Scope, Input, Output, H>