Struct rustc_query_system::query::plumbing::QueryCacheStore [−][src]
pub struct QueryCacheStore<C: QueryCache> { cache: C, shards: Sharded<C::Sharded>, pub cache_hits: AtomicUsize, }
Fields
cache: Cshards: Sharded<C::Sharded>cache_hits: AtomicUsizeImplementations
pub(super) fn get_lookup<'tcx>(
&'tcx self,
key: &C::Key
) -> (QueryLookup, LockGuard<'tcx, C::Sharded>)Trait Implementations
Auto Trait Implementations
impl<C> !RefUnwindSafe for QueryCacheStore<C>impl<C> Send for QueryCacheStore<C> where
C: Send,
<C as QueryCache>::Sharded: Send, impl<C> !Sync for QueryCacheStore<C>impl<C> Unpin for QueryCacheStore<C> where
C: Unpin,
<C as QueryCache>::Sharded: Unpin, impl<C> UnwindSafe for QueryCacheStore<C> where
C: UnwindSafe,
<C as QueryCache>::Sharded: UnwindSafe, Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.