#[repr(u64)]pub enum CetShadowStacks {
Defer = 0,
AlwaysOn = 1,
AlwaysOff = 2,
Strict = 3,
}Expand description
CET user shadow-stack modes.
Runtime support depends on the Windows release, processor architecture, hardware capabilities, and child executable. Representability here does not imply that the current host accepts the policy.
Variants§
Defer = 0
Defer to the child.
AlwaysOn = 1
Enable user shadow stacks.
AlwaysOff = 2
Disable user shadow stacks.
Strict = 3
Enable strict shadow-stack mode.
Trait Implementations§
Source§impl Clone for CetShadowStacks
impl Clone for CetShadowStacks
Source§fn clone(&self) -> CetShadowStacks
fn clone(&self) -> CetShadowStacks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CetShadowStacks
Source§impl Debug for CetShadowStacks
impl Debug for CetShadowStacks
Source§impl Default for CetShadowStacks
impl Default for CetShadowStacks
Source§fn default() -> CetShadowStacks
fn default() -> CetShadowStacks
Returns the “default value” for a type. Read more
impl Eq for CetShadowStacks
Source§impl Hash for CetShadowStacks
impl Hash for CetShadowStacks
Source§impl PartialEq for CetShadowStacks
impl PartialEq for CetShadowStacks
impl StructuralPartialEq for CetShadowStacks
Auto Trait Implementations§
impl Freeze for CetShadowStacks
impl RefUnwindSafe for CetShadowStacks
impl Send for CetShadowStacks
impl Sync for CetShadowStacks
impl Unpin for CetShadowStacks
impl UnsafeUnpin for CetShadowStacks
impl UnwindSafe for CetShadowStacks
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