Skip to main content

EvalToValTreeResult

Type Alias EvalToValTreeResult 

Source
pub type EvalToValTreeResult<'tcx> = Result<ValTree<'tcx>, ValTreeCreationError<'tcx>>;

Aliased Type§

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

Variants§

§

Ok(ValTree<'tcx>)

Contains the success value

§

Err(ValTreeCreationError<'tcx>)

Contains the error value

Trait Implementations§

Source§

impl Erasable for EvalToValTreeResult<'_>

Source§

type Storage = [u8; 16]

Storage type to used for erased values of this type. Should be [u8; N], where N is equal to size_of::<Self>. 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.