pub enum SecurityFlag {
Aslr,
ForbidNullMap,
NonExecutableStack,
}
Expand description
Description of per-process security and exploit mitigation features.
Variants§
Aslr
Address Space Layout Randomization.
ForbidNullMap
Mappings with an address of “zero” are forbidden.
NonExecutableStack
The stack will be mapped without executable permission.
Trait Implementations§
Source§impl Display for SecurityFlag
impl Display for SecurityFlag
Source§impl Hash for SecurityFlag
impl Hash for SecurityFlag
Source§impl Ord for SecurityFlag
impl Ord for SecurityFlag
Source§fn cmp(&self, other: &SecurityFlag) -> Ordering
fn cmp(&self, other: &SecurityFlag) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecurityFlag
impl PartialEq for SecurityFlag
Source§impl PartialOrd for SecurityFlag
impl PartialOrd for SecurityFlag
impl Eq for SecurityFlag
impl StructuralPartialEq for SecurityFlag
Auto Trait Implementations§
impl Freeze for SecurityFlag
impl RefUnwindSafe for SecurityFlag
impl Send for SecurityFlag
impl Sync for SecurityFlag
impl Unpin for SecurityFlag
impl UnwindSafe for SecurityFlag
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more