Enum rustc_query_system::query::plumbing::QueryResult
source · [−]enum QueryResult {
Started(QueryJob),
Poisoned,
}
Expand description
Indicates the state of a query for a given key in a query map.
Variants
Started(QueryJob)
An already executing query. The query job can be used to await for its completion.
Poisoned
The query panicked. Queries trying to wait on this will raise a fatal error which will silently panic.
Auto Trait Implementations
impl RefUnwindSafe for QueryResult
impl !Send for QueryResult
impl !Sync for QueryResult
impl Unpin for QueryResult
impl UnwindSafe for QueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
Started
: 24 bytesPoisoned
: 0 bytes