pub type QueryResult<'tcx> = QueryResult<TyCtxt<'tcx>>;
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: 40 bytes
Size for each variant:
Ok
: 40 bytesErr
: 0 bytes