#[non_exhaustive]#[repr(C)]pub enum SigtrapCode {
BRKPT = 0,
TRACE = 1,
BRANCH = 2,
HWBKPT = 3,
}
Expand description
Subtype code for SIGTRAP.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BRKPT = 0
Process breakpoint.
TRACE = 1
Process trace trap.
BRANCH = 2
Process taken branch trap (IA-64 only).
HWBKPT = 3
Hardware breakpoint/watchpoint (IA-64 only).
Trait Implementations§
Source§impl Clone for SigtrapCode
impl Clone for SigtrapCode
Source§fn clone(&self) -> SigtrapCode
fn clone(&self) -> SigtrapCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SigtrapCode
impl Debug for SigtrapCode
Source§impl Hash for SigtrapCode
impl Hash for SigtrapCode
Source§impl Ord for SigtrapCode
impl Ord for SigtrapCode
Source§fn cmp(&self, other: &SigtrapCode) -> Ordering
fn cmp(&self, other: &SigtrapCode) -> 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 SigtrapCode
impl PartialEq for SigtrapCode
Source§impl PartialOrd for SigtrapCode
impl PartialOrd for SigtrapCode
impl Copy for SigtrapCode
impl Eq for SigtrapCode
impl StructuralPartialEq for SigtrapCode
Auto Trait Implementations§
impl Freeze for SigtrapCode
impl RefUnwindSafe for SigtrapCode
impl Send for SigtrapCode
impl Sync for SigtrapCode
impl Unpin for SigtrapCode
impl UnwindSafe for SigtrapCode
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