#[repr(u64)]pub enum ControlFlowGuard {
Defer = 0,
AlwaysOn = 1,
AlwaysOff = 2,
ExportSuppression = 3,
}Expand description
Control Flow Guard modes.
Variants§
Defer = 0
Defer to the child.
AlwaysOn = 1
Enable Control Flow Guard.
AlwaysOff = 2
Disable Control Flow Guard.
ExportSuppression = 3
Enable Control Flow Guard with export suppression.
Trait Implementations§
Source§impl Clone for ControlFlowGuard
impl Clone for ControlFlowGuard
Source§fn clone(&self) -> ControlFlowGuard
fn clone(&self) -> ControlFlowGuard
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 ControlFlowGuard
Source§impl Debug for ControlFlowGuard
impl Debug for ControlFlowGuard
Source§impl Default for ControlFlowGuard
impl Default for ControlFlowGuard
Source§fn default() -> ControlFlowGuard
fn default() -> ControlFlowGuard
Returns the “default value” for a type. Read more
impl Eq for ControlFlowGuard
Source§impl Hash for ControlFlowGuard
impl Hash for ControlFlowGuard
Source§impl PartialEq for ControlFlowGuard
impl PartialEq for ControlFlowGuard
impl StructuralPartialEq for ControlFlowGuard
Auto Trait Implementations§
impl Freeze for ControlFlowGuard
impl RefUnwindSafe for ControlFlowGuard
impl Send for ControlFlowGuard
impl Sync for ControlFlowGuard
impl Unpin for ControlFlowGuard
impl UnsafeUnpin for ControlFlowGuard
impl UnwindSafe for ControlFlowGuard
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