[−][src]Struct rustc_trait_selection::infer::canonical::QueryResponse

pub struct QueryResponse<'tcx, R> {
    pub var_values: CanonicalVarValues<'tcx>,
    pub region_constraints: QueryRegionConstraints<'tcx>,
    pub certainty: Certainty,
    pub value: R,
}

After we execute a query with a canonicalized key, we get back a Canonical<QueryResponse<..>>. You can use instantiate_query_result to access the data in this result.

Fields

var_values: CanonicalVarValues<'tcx>region_constraints: QueryRegionConstraints<'tcx>certainty: Certaintyvalue: R

Auto Trait Implementations

impl<'tcx, R> !RefUnwindSafe for QueryResponse<'tcx, R>

impl<'tcx, R> !Send for QueryResponse<'tcx, R>

impl<'tcx, R> !Sync for QueryResponse<'tcx, R>

impl<'tcx, R> Unpin for QueryResponse<'tcx, R> where
    R: Unpin, 

impl<'tcx, R> !UnwindSafe for QueryResponse<'tcx, R>

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<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[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.

impl<T> WithConstness for T[src]