Skip to main content

EvalStaticInitializerRawResult

Type Alias EvalStaticInitializerRawResult 

Source
pub type EvalStaticInitializerRawResult<'tcx> = Result<ConstAllocation<'tcx>, ErrorHandled>;

Aliased Type§

pub enum EvalStaticInitializerRawResult<'tcx> {
    Ok(ConstAllocation<'tcx>),
    Err(ErrorHandled),
}

Variants§

§

Ok(ConstAllocation<'tcx>)

Contains the success value

§

Err(ErrorHandled)

Contains the error value

Trait Implementations§

Source§

impl<'tcx> Erasable for EvalStaticInitializerRawResult<'tcx>

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.