[−][src]Struct rustc_query_system::query::plumbing::QueryStateShard

pub(in query) struct QueryStateShard<D, Q, K, C> {
    pub(in query) cache: C,
    active: FxHashMap<K, QueryResult<D, Q>>,
    jobs: u32,
}

Fields

cache: Cactive: FxHashMap<K, QueryResult<D, Q>>jobs: u32

Used to generate unique ids for active jobs.

Trait Implementations

impl<D, Q, K, C: Default> Default for QueryStateShard<D, Q, K, C>[src]

Auto Trait Implementations

impl<D, Q, K, C> RefUnwindSafe for QueryStateShard<D, Q, K, C> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    K: RefUnwindSafe,
    Q: RefUnwindSafe, 

impl<D, Q, K, C> !Send for QueryStateShard<D, Q, K, C>

impl<D, Q, K, C> !Sync for QueryStateShard<D, Q, K, C>

impl<D, Q, K, C> Unpin for QueryStateShard<D, Q, K, C> where
    C: Unpin,
    D: Unpin,
    K: Unpin,
    Q: Unpin, 

impl<D, Q, K, C> UnwindSafe for QueryStateShard<D, Q, K, C> where
    C: UnwindSafe,
    D: UnwindSafe,
    K: UnwindSafe,
    Q: UnwindSafe, 

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.