pub struct Unstable { /* private fields */ }Expand description
Structure for configuring hardening methods which rely on undocumented or unstable target OS/platform details.
The default is to disable all. Note that the unstable crate feature is
required for this configuration to have any effect. Without that crate
feature, the value of this configuration is silently ignored.
Implementations§
source§impl Unstable
impl Unstable
sourcepub const DEFAULT: Self = Self::FALSE
pub const DEFAULT: Self = Self::FALSE
Default unstable configuration. This is the same as Self::FALSE.
sourcepub fn set_win_ntapi(&mut self, b: bool)
pub fn set_win_ntapi(&mut self, b: bool)
Set unstable windows native API hardening methods to b (true means
enabled).
sourcepub fn set_win_kernelmem(&mut self, b: bool)
pub fn set_win_kernelmem(&mut self, b: bool)
Set unstable windows hardening methods relying on shared kernel memory
to b (true means enabled).
Trait Implementations§
impl StructuralPartialEq for Unstable
Auto Trait Implementations§
impl Freeze for Unstable
impl RefUnwindSafe for Unstable
impl Send for Unstable
impl Sync for Unstable
impl Unpin for Unstable
impl UnwindSafe for Unstable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)