#[repr(u64)]pub enum Mitigation {
Defer = 0,
AlwaysOn = 1,
AlwaysOff = 2,
}Expand description
The ordinary two-bit mitigation states used by the Windows SDK.
Variants§
Defer = 0
Let the child executable and operating system choose.
AlwaysOn = 1
Force the mitigation on.
AlwaysOff = 2
Force the mitigation off.
Trait Implementations§
Source§impl Clone for Mitigation
impl Clone for Mitigation
Source§fn clone(&self) -> Mitigation
fn clone(&self) -> Mitigation
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 Mitigation
Source§impl Debug for Mitigation
impl Debug for Mitigation
Source§impl Default for Mitigation
impl Default for Mitigation
Source§fn default() -> Mitigation
fn default() -> Mitigation
Returns the “default value” for a type. Read more
impl Eq for Mitigation
Source§impl Hash for Mitigation
impl Hash for Mitigation
Source§impl PartialEq for Mitigation
impl PartialEq for Mitigation
impl StructuralPartialEq for Mitigation
Auto Trait Implementations§
impl Freeze for Mitigation
impl RefUnwindSafe for Mitigation
impl Send for Mitigation
impl Sync for Mitigation
impl Unpin for Mitigation
impl UnsafeUnpin for Mitigation
impl UnwindSafe for Mitigation
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