Enum PrctlMCEKillPolicy
#[repr(i32)]
#[non_exhaustive]
pub enum PrctlMCEKillPolicy
The type of hardware memory corruption kill policy for the thread.
Variants
-
PR_MCE_KILL_EARLY = libc::PR_MCE_KILL_EARLY The thread will receive SIGBUS as soon as a memory corruption is detected.
-
PR_MCE_KILL_LATE = libc::PR_MCE_KILL_LATE The process is killed only when it accesses a corrupted page.
-
PR_MCE_KILL_DEFAULT = libc::PR_MCE_KILL_DEFAULT Uses the system-wide default.
Trait Implementations
impl Clone for PrctlMCEKillPolicy
fn clone(&self) -> Self
impl Copy for PrctlMCEKillPolicy
impl Debug for PrctlMCEKillPolicy
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for PrctlMCEKillPolicy
impl Hash for PrctlMCEKillPolicy
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for PrctlMCEKillPolicy
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for PrctlMCEKillPolicy
fn eq(&self, other: &Self) -> bool
impl PartialOrd for PrctlMCEKillPolicy
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
impl StructuralPartialEq for PrctlMCEKillPolicy
impl TryFrom<i32> for PrctlMCEKillPolicy
type Error = Errno;fn try_from(x: i32) -> Result<Self>