Enum rustc_query_system::query::plumbing::TryGetJob
source · enum TryGetJob<'tcx, K>where
K: Eq + Hash + Clone,{
NotYetStarted(JobOwner<'tcx, K>),
Cycle(CycleError),
}
Expand description
The result of try_start
.
Variants
NotYetStarted(JobOwner<'tcx, K>)
The query is not yet started. Contains a guard to the cache eventually used to start it.
Cycle(CycleError)
Trying to execute the query resulted in a cycle.
Auto Trait Implementations
impl<'tcx, K> !RefUnwindSafe for TryGetJob<'tcx, K>
impl<'tcx, K> !Send for TryGetJob<'tcx, K>
impl<'tcx, K> !Sync for TryGetJob<'tcx, K>
impl<'tcx, K> Unpin for TryGetJob<'tcx, K>where
K: Unpin,
impl<'tcx, K> !UnwindSafe for TryGetJob<'tcx, K>
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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.