Enum linux_api::signal::SigInfoCodeSi
source · #[repr(i32)]pub enum SigInfoCodeSi {
SI_USER = 0,
SI_KERNEL = 128,
SI_QUEUE = -1,
SI_TIMER = -2,
SI_MESGQ = -3,
SI_ASYNCIO = -4,
SI_TKILL = -6,
}
Variants§
SI_USER = 0
SI_KERNEL = 128
SI_QUEUE = -1
SI_TIMER = -2
SI_MESGQ = -3
SI_ASYNCIO = -4
SI_TKILL = -6
Trait Implementations§
source§impl Clone for SigInfoCodeSi
impl Clone for SigInfoCodeSi
source§fn clone(&self) -> SigInfoCodeSi
fn clone(&self) -> SigInfoCodeSi
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 SigInfoCodeSi
impl Debug for SigInfoCodeSi
source§impl From<SigInfoCodeSi> for i32
impl From<SigInfoCodeSi> for i32
source§fn from(enum_value: SigInfoCodeSi) -> Self
fn from(enum_value: SigInfoCodeSi) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodeSi
impl PartialEq for SigInfoCodeSi
source§impl TryFrom<i32> for SigInfoCodeSi
impl TryFrom<i32> for SigInfoCodeSi
source§type Error = TryFromPrimitiveError<SigInfoCodeSi>
type Error = TryFromPrimitiveError<SigInfoCodeSi>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodeSi
impl TryFromPrimitive for SigInfoCodeSi
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeSi>
const NAME: &'static str = "SigInfoCodeSi"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeSi
impl Eq for SigInfoCodeSi
impl StructuralPartialEq for SigInfoCodeSi
Auto Trait Implementations§
impl Freeze for SigInfoCodeSi
impl RefUnwindSafe for SigInfoCodeSi
impl Send for SigInfoCodeSi
impl Sync for SigInfoCodeSi
impl Unpin for SigInfoCodeSi
impl UnwindSafe for SigInfoCodeSi
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
)