Enum linux_api::signal::SigInfoCodeTrap
source · #[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 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 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
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeTrap>
const NAME: &'static str = "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
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
)