Struct rustc_query_system::query::QueryCacheStore [−][src]
pub struct QueryCacheStore<C: QueryCache> {
cache: C,
shards: Sharded<C::Sharded>,
}
Fields
cache: C
shards: Sharded<C::Sharded>
Implementations
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.