pub trait VbsRegister: Sized {
// Required method
fn into_igvm_header(vtl: Vtl, list: &[Self]) -> IgvmDirectiveHeader;
}Expand description
A trait used to specialize behavior based on the register type. Different
architectures need to do different conversions and emit different
[IgvmDirectiveHeader] types.
Required Methods§
Sourcefn into_igvm_header(vtl: Vtl, list: &[Self]) -> IgvmDirectiveHeader
fn into_igvm_header(vtl: Vtl, list: &[Self]) -> IgvmDirectiveHeader
Convert the list of registers into the corresponding
[IgvmDirectiveHeader] for this architecture.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.