Struct rustc_query_system::query::job::QueryJobId [−][src]
pub struct QueryJobId<D> {
pub job: QueryShardJobId,
pub shard: u16,
pub kind: D,
}
Expand description
A value uniquely identifying an active query job.
Fields
job: QueryShardJobId
Which job within a shard is this
shard: u16
In which shard is this job
kind: D
What kind of query this job is.
Implementations
pub(super) fn find_cycle_in_stack(
&self,
query_map: QueryMap<D>,
current_job: &Option<QueryJobId<D>>,
span: Span
) -> CycleError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<D> RefUnwindSafe for QueryJobId<D> where
D: RefUnwindSafe,
impl<D> Send for QueryJobId<D> where
D: Send,
impl<D> Sync for QueryJobId<D> where
D: Sync,
impl<D> Unpin for QueryJobId<D> where
D: Unpin,
impl<D> UnwindSafe for QueryJobId<D> where
D: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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.