[−][src]Struct rustc_query_system::query::QueryJobId

pub struct QueryJobId<K> {
    pub job: QueryShardJobId,
    pub shard: u16,
    pub kind: K,
}

A value uniquely identifiying an active query job.

Fields

job: QueryShardJobId

Which job within a shard is this

shard: u16

In which shard is this job

kind: K

What kind of query this job is

Implementations

impl<K: DepKind> QueryJobId<K>[src]

pub fn new(job: QueryShardJobId, shard: usize, kind: K) -> Self[src]

fn query<CTX: QueryContext<DepKind = K>>(
    self,
    map: &FxHashMap<QueryJobId<<CTX as DepContext>::DepKind>, QueryJobInfo<CTX>>
) -> CTX::Query
[src]

Trait Implementations

impl<K: Clone> Clone for QueryJobId<K>[src]

impl<K: Copy> Copy for QueryJobId<K>[src]

impl<K: Eq> Eq for QueryJobId<K>[src]

impl<K: Hash> Hash for QueryJobId<K>[src]

impl<K: PartialEq> PartialEq<QueryJobId<K>> for QueryJobId<K>[src]

impl<K> StructuralEq for QueryJobId<K>[src]

impl<K> StructuralPartialEq for QueryJobId<K>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for QueryJobId<K> where
    K: RefUnwindSafe, 

impl<K> Send for QueryJobId<K> where
    K: Send, 

impl<K> Sync for QueryJobId<K> where
    K: Sync, 

impl<K> Unpin for QueryJobId<K> where
    K: Unpin, 

impl<K> UnwindSafe for QueryJobId<K> where
    K: 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> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

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.