Type Alias rustc_trait_selection::traits::solve::QueryResult
source · pub type QueryResult<'tcx> = Result<Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>, NoSolution>;
Aliased Type§
enum QueryResult<'tcx> {
Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>),
Err(NoSolution),
}
Variants§
Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>)
Contains the success value
Err(NoSolution)
Contains the error value
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: 48 bytes
Size for each variant:
Ok
: 48 bytesErr
: 0 bytes