pub struct VBS_POLICY_FLAGS(/* private fields */);
Expand description
Flags defining the security policy for the guest
Implementations§
Source§impl VBS_POLICY_FLAGS
impl VBS_POLICY_FLAGS
Sourcepub const fn with_debug_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_debug_checked(self, value: bool) -> Result<Self, ()>
Guest supports debugging
Bits: 0..1
Sourcepub const fn with_debug(self, value: bool) -> Self
pub const fn with_debug(self, value: bool) -> Self
Guest supports debugging
Bits: 0..1
Trait Implementations§
Source§impl Clone for VBS_POLICY_FLAGS
impl Clone for VBS_POLICY_FLAGS
Source§fn clone(&self) -> VBS_POLICY_FLAGS
fn clone(&self) -> VBS_POLICY_FLAGS
Returns a copy 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 VBS_POLICY_FLAGS
impl Debug for VBS_POLICY_FLAGS
Source§impl Default for VBS_POLICY_FLAGS
impl Default for VBS_POLICY_FLAGS
Source§impl From<VBS_POLICY_FLAGS> for u32
impl From<VBS_POLICY_FLAGS> for u32
Source§fn from(v: VBS_POLICY_FLAGS) -> u32
fn from(v: VBS_POLICY_FLAGS) -> u32
Converts to this type from the input type.
Source§impl From<u32> for VBS_POLICY_FLAGS
impl From<u32> for VBS_POLICY_FLAGS
Source§impl IntoBytes for VBS_POLICY_FLAGSwhere
u32: IntoBytes,
impl IntoBytes for VBS_POLICY_FLAGSwhere
u32: IntoBytes,
Source§impl KnownLayout for VBS_POLICY_FLAGSwhere
Self: Sized,
impl KnownLayout for VBS_POLICY_FLAGSwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self
. Read moreimpl Copy for VBS_POLICY_FLAGS
impl Immutable for VBS_POLICY_FLAGSwhere
u32: Immutable,
Auto Trait Implementations§
impl Freeze for VBS_POLICY_FLAGS
impl RefUnwindSafe for VBS_POLICY_FLAGS
impl Send for VBS_POLICY_FLAGS
impl Sync for VBS_POLICY_FLAGS
impl Unpin for VBS_POLICY_FLAGS
impl UnwindSafe for VBS_POLICY_FLAGS
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