pub enum AmdSevPolicy {
NoDebug = 1,
NoKeySharing = 2,
SevEs = 4,
NoSend = 8,
Domain = 16,
Sev = 32,
}Variants§
NoDebug = 1
Debugging of the guest is disallowed.
NoKeySharing = 2
Sharing keys with other guests is disallowed.
SevEs = 4
SEV-ES is required.
NoSend = 8
Sending the guest to another platform is disallowed.
Domain = 16
The guest must not be transmitted to another platform not in the domain.
Sev = 32
The guest must not be transmitted to another platform that is not SEV capable.
Trait Implementations§
Source§impl Clone for AmdSevPolicy
impl Clone for AmdSevPolicy
Source§fn clone(&self) -> AmdSevPolicy
fn clone(&self) -> AmdSevPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmdSevPolicy
impl Debug for AmdSevPolicy
Source§impl<'de> Deserialize<'de> for AmdSevPolicy
impl<'de> Deserialize<'de> for AmdSevPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AmdSevPolicy
impl PartialEq for AmdSevPolicy
Source§impl Serialize for AmdSevPolicy
impl Serialize for AmdSevPolicy
impl StructuralPartialEq for AmdSevPolicy
Auto Trait Implementations§
impl Freeze for AmdSevPolicy
impl RefUnwindSafe for AmdSevPolicy
impl Send for AmdSevPolicy
impl Sync for AmdSevPolicy
impl Unpin for AmdSevPolicy
impl UnsafeUnpin for AmdSevPolicy
impl UnwindSafe for AmdSevPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more