#[repr(i32)]pub enum SigInfoCodeTrap {
    TRAP_BRKPT = 1,
    TRAP_TRACE = 2,
    TRAP_BRANCH = 3,
    TRAP_HWBKPT = 4,
    TRAP_UNK = 5,
    TRAP_PERF = 6,
}Expand description
Codes for SIGTRAP
Variants§
Trait Implementations§
Source§impl Clone for SigInfoCodeTrap
 
impl Clone for SigInfoCodeTrap
Source§fn clone(&self) -> SigInfoCodeTrap
 
fn clone(&self) -> SigInfoCodeTrap
Returns a duplicate 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 SigInfoCodeTrap
 
impl Debug for SigInfoCodeTrap
Source§impl From<SigInfoCodeTrap> for i32
 
impl From<SigInfoCodeTrap> for i32
Source§fn from(enum_value: SigInfoCodeTrap) -> Self
 
fn from(enum_value: SigInfoCodeTrap) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SigInfoCodeTrap
 
impl PartialEq for SigInfoCodeTrap
Source§impl TryFrom<i32> for SigInfoCodeTrap
 
impl TryFrom<i32> for SigInfoCodeTrap
Source§type Error = TryFromPrimitiveError<SigInfoCodeTrap>
 
type Error = TryFromPrimitiveError<SigInfoCodeTrap>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SigInfoCodeTrap
 
impl TryFromPrimitive for SigInfoCodeTrap
const NAME: &'static str = "SigInfoCodeTrap"
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeTrap>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeTrap
impl Eq for SigInfoCodeTrap
impl StructuralPartialEq for SigInfoCodeTrap
Auto Trait Implementations§
impl Freeze for SigInfoCodeTrap
impl RefUnwindSafe for SigInfoCodeTrap
impl Send for SigInfoCodeTrap
impl Sync for SigInfoCodeTrap
impl Unpin for SigInfoCodeTrap
impl UnwindSafe for SigInfoCodeTrap
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