Struct rustc_query_system::query::QueryJob [−][src]
pub struct QueryJob<D> {
pub id: QueryShardJobId,
pub span: Span,
pub parent: Option<QueryJobId<D>>,
}
Expand description
Represents an active query job.
Fields
id: QueryShardJobId
span: Span
The span corresponding to the reason for which this query was required.
parent: Option<QueryJobId<D>>
The parent query job which created this job and is implicitly waiting on it.
Implementations
Creates a new query job.
Signals to waiters that the query is complete.
This does nothing for single threaded rustc, as there are no concurrent jobs which could be waiting on us
Trait Implementations
Auto Trait Implementations
impl<D> RefUnwindSafe for QueryJob<D> where
D: RefUnwindSafe,
impl<D> UnwindSafe for QueryJob<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.