Enum linux_api::signal::SigInfoCode
source · pub enum SigInfoCode {
Si(SigInfoCodeSi),
Ill(SigInfoCodeIll),
Fpe(SigInfoCodeFpe),
Segv(SigInfoCodeSegv),
Bus(SigInfoCodeBus),
Trap(SigInfoCodeTrap),
Cld(SigInfoCodeCld),
Poll(SigInfoCodePoll),
Sys(SigInfoCodeSys),
}
Expand description
Describes how a signal was sent.
Variants§
Si(SigInfoCodeSi)
Ill(SigInfoCodeIll)
Fpe(SigInfoCodeFpe)
Segv(SigInfoCodeSegv)
Bus(SigInfoCodeBus)
Trap(SigInfoCodeTrap)
Cld(SigInfoCodeCld)
Poll(SigInfoCodePoll)
Sys(SigInfoCodeSys)
Trait Implementations§
source§impl Clone for SigInfoCode
impl Clone for SigInfoCode
source§fn clone(&self) -> SigInfoCode
fn clone(&self) -> SigInfoCode
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 SigInfoCode
impl Debug for SigInfoCode
source§impl PartialEq for SigInfoCode
impl PartialEq for SigInfoCode
impl Copy for SigInfoCode
impl Eq for SigInfoCode
impl StructuralPartialEq for SigInfoCode
Auto Trait Implementations§
impl Freeze for SigInfoCode
impl RefUnwindSafe for SigInfoCode
impl Send for SigInfoCode
impl Sync for SigInfoCode
impl Unpin for SigInfoCode
impl UnwindSafe for SigInfoCode
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
)