Struct x86defs::snp::SevExitCode

source ·
#[repr(transparent)]
pub struct SevExitCode(pub u64);

Tuple Fields§

§0: u64

Implementations§

source§

impl SevExitCode

source

pub const CR0_READ: SevExitCode = _

source

pub const CR1_READ: SevExitCode = _

source

pub const CR2_READ: SevExitCode = _

source

pub const CR3_READ: SevExitCode = _

source

pub const CR4_READ: SevExitCode = _

source

pub const CR5_READ: SevExitCode = _

source

pub const CR6_READ: SevExitCode = _

source

pub const CR7_READ: SevExitCode = _

source

pub const CR8_READ: SevExitCode = _

source

pub const CR9_READ: SevExitCode = _

source

pub const CR10_READ: SevExitCode = _

source

pub const CR11_READ: SevExitCode = _

source

pub const CR12_READ: SevExitCode = _

source

pub const CR13_READ: SevExitCode = _

source

pub const CR14_READ: SevExitCode = _

source

pub const CR15_READ: SevExitCode = _

source

pub const CR0_WRITE: SevExitCode = _

source

pub const CR1_WRITE: SevExitCode = _

source

pub const CR2_WRITE: SevExitCode = _

source

pub const CR3_WRITE: SevExitCode = _

source

pub const CR4_WRITE: SevExitCode = _

source

pub const CR5_WRITE: SevExitCode = _

source

pub const CR6_WRITE: SevExitCode = _

source

pub const CR7_WRITE: SevExitCode = _

source

pub const CR8_WRITE: SevExitCode = _

source

pub const CR9_WRITE: SevExitCode = _

source

pub const CR10_WRITE: SevExitCode = _

source

pub const CR11_WRITE: SevExitCode = _

source

pub const CR12_WRITE: SevExitCode = _

source

pub const CR13_WRITE: SevExitCode = _

source

pub const CR14_WRITE: SevExitCode = _

source

pub const CR15_WRITE: SevExitCode = _

source

pub const DR0_READ: SevExitCode = _

source

pub const DR1_READ: SevExitCode = _

source

pub const DR2_READ: SevExitCode = _

source

pub const DR3_READ: SevExitCode = _

source

pub const DR4_READ: SevExitCode = _

source

pub const DR5_READ: SevExitCode = _

source

pub const DR6_READ: SevExitCode = _

source

pub const DR7_READ: SevExitCode = _

source

pub const DR8_READ: SevExitCode = _

source

pub const DR9_READ: SevExitCode = _

source

pub const DR10_READ: SevExitCode = _

source

pub const DR11_READ: SevExitCode = _

source

pub const DR12_READ: SevExitCode = _

source

pub const DR13_READ: SevExitCode = _

source

pub const DR14_READ: SevExitCode = _

source

pub const DR15_READ: SevExitCode = _

source

pub const DR0_WRITE: SevExitCode = _

source

pub const DR1_WRITE: SevExitCode = _

source

pub const DR2_WRITE: SevExitCode = _

source

pub const DR3_WRITE: SevExitCode = _

source

pub const DR4_WRITE: SevExitCode = _

source

pub const DR5_WRITE: SevExitCode = _

source

pub const DR6_WRITE: SevExitCode = _

source

pub const DR7_WRITE: SevExitCode = _

source

pub const DR8_WRITE: SevExitCode = _

source

pub const DR9_WRITE: SevExitCode = _

source

pub const DR10_WRITE: SevExitCode = _

source

pub const DR11_WRITE: SevExitCode = _

source

pub const DR12_WRITE: SevExitCode = _

source

pub const DR13_WRITE: SevExitCode = _

source

pub const DR14_WRITE: SevExitCode = _

source

pub const DR15_WRITE: SevExitCode = _

source

pub const EXCP0: SevExitCode = _

source

pub const EXCP_DB: SevExitCode = _

source

pub const EXCP2: SevExitCode = _

source

pub const EXCP3: SevExitCode = _

source

pub const EXCP4: SevExitCode = _

source

pub const EXCP5: SevExitCode = _

source

pub const EXCP6: SevExitCode = _

source

pub const EXCP7: SevExitCode = _

source

pub const EXCP8: SevExitCode = _

source

pub const EXCP9: SevExitCode = _

source

pub const EXCP10: SevExitCode = _

source

pub const EXCP11: SevExitCode = _

source

pub const EXCP12: SevExitCode = _

source

pub const EXCP13: SevExitCode = _

source

pub const EXCP14: SevExitCode = _

source

pub const EXCP15: SevExitCode = _

source

pub const EXCP16: SevExitCode = _

source

pub const EXCP17: SevExitCode = _

source

pub const EXCP18: SevExitCode = _

source

pub const EXCP19: SevExitCode = _

source

pub const EXCP20: SevExitCode = _

source

pub const EXCP21: SevExitCode = _

source

pub const EXCP22: SevExitCode = _

source

pub const EXCP23: SevExitCode = _

source

pub const EXCP24: SevExitCode = _

source

pub const EXCP25: SevExitCode = _

source

pub const EXCP26: SevExitCode = _

source

pub const EXCP27: SevExitCode = _

source

pub const EXCP28: SevExitCode = _

source

pub const EXCP29: SevExitCode = _

source

pub const EXCP30: SevExitCode = _

source

pub const EXCP31: SevExitCode = _

source

pub const INTR: SevExitCode = _

source

pub const NMI: SevExitCode = _

source

pub const SMI: SevExitCode = _

source

pub const INIT: SevExitCode = _

source

pub const VINTR: SevExitCode = _

source

pub const CR0_SEL_WRITE: SevExitCode = _

source

pub const IDTR_READ: SevExitCode = _

source

pub const GDTR_READ: SevExitCode = _

source

pub const LDTR_READ: SevExitCode = _

source

pub const TR_READ: SevExitCode = _

source

pub const IDTR_WRITE: SevExitCode = _

source

pub const GDTR_WRITE: SevExitCode = _

source

pub const LDTR_WRITE: SevExitCode = _

source

pub const TR_WRITE: SevExitCode = _

source

pub const RDTSC: SevExitCode = _

source

pub const RDPMC: SevExitCode = _

source

pub const PUSHF: SevExitCode = _

source

pub const POPF: SevExitCode = _

source

pub const CPUID: SevExitCode = _

source

pub const RSM: SevExitCode = _

source

pub const IRET: SevExitCode = _

source

pub const SWINT: SevExitCode = _

source

pub const INVD: SevExitCode = _

source

pub const PAUSE: SevExitCode = _

source

pub const HLT: SevExitCode = _

source

pub const INVLPG: SevExitCode = _

source

pub const INVLPGA: SevExitCode = _

source

pub const IOIO: SevExitCode = _

source

pub const MSR: SevExitCode = _

source

pub const TASK_SWITCH: SevExitCode = _

source

pub const FERR_FREEZE: SevExitCode = _

source

pub const SHUTDOWN: SevExitCode = _

source

pub const VMRUN: SevExitCode = _

source

pub const VMMCALL: SevExitCode = _

source

pub const VMLOAD: SevExitCode = _

source

pub const VMSAVE: SevExitCode = _

source

pub const STGI: SevExitCode = _

source

pub const CLGI: SevExitCode = _

source

pub const SKINIT: SevExitCode = _

source

pub const RDTSCP: SevExitCode = _

source

pub const ICEBP: SevExitCode = _

source

pub const WBINVD: SevExitCode = _

source

pub const MONITOR: SevExitCode = _

source

pub const MWAIT: SevExitCode = _

source

pub const MWAIT_CONDITIONAL: SevExitCode = _

source

pub const XSETBV: SevExitCode = _

source

pub const INVLPGB: SevExitCode = _

source

pub const ILLEGAL_INVLPGB: SevExitCode = _

source

pub const NPF: SevExitCode = _

source

pub const AVIC_INCOMPLETE_IPI: SevExitCode = _

source

pub const AVIC_NOACCEL: SevExitCode = _

source

pub const VMGEXIT: SevExitCode = _

source

pub const PAGE_NOT_VALIDATED: SevExitCode = _

source

pub const SNP_GUEST_REQUEST: SevExitCode = _

source

pub const SNP_EXTENDED_GUEST_REQUEST: SevExitCode = _

source

pub const HV_DOORBELL_PAGE: SevExitCode = _

source

pub const INVALID_VMCB: SevExitCode = _

Trait Implementations§

source§

impl Clone for SevExitCode

source§

fn clone(&self) -> SevExitCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SevExitCode

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for SevExitCode

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for SevExitCode

source§

fn cmp(&self, other: &SevExitCode) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for SevExitCode

source§

fn eq(&self, other: &SevExitCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for SevExitCode

source§

fn partial_cmp(&self, other: &SevExitCode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for SevExitCode

source§

impl Eq for SevExitCode

source§

impl StructuralPartialEq for SevExitCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.