Type Alias rustc_const_eval::const_eval::ValTreeCreationResult

source ·
pub(crate) type ValTreeCreationResult<'tcx> = Result<ValTree<'tcx>, ValTreeCreationError>;

Aliased Type§

enum ValTreeCreationResult<'tcx> {
    Ok(ValTree<'tcx>),
    Err(ValTreeCreationError),
}

Variants§

§1.0.0

Ok(ValTree<'tcx>)

Contains the success value

§1.0.0

Err(ValTreeCreationError)

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: 24 bytes

Size for each variant:

  • Ok: 24 bytes
  • Err: 2 bytes