Struct siginfo_t

#[repr(C)]
pub struct siginfo_t { pub si_signo: c_int, pub si_errno: c_int, pub si_code: c_int, /* private fields */ }

Fields

si_signo: c_int
si_errno: c_int
si_code: c_int

Implementations

impl siginfo_t

const unsafe fn si_pid(&self) -> pid_t
const unsafe fn si_uid(&self) -> uid_t
const unsafe fn si_timerid(&self) -> c_int
const unsafe fn si_overrun(&self) -> c_int
const unsafe fn si_status(&self) -> c_int
const unsafe fn si_utime(&self) -> clock_t
const unsafe fn si_stime(&self) -> clock_t
const unsafe fn si_value(&self) -> sigval
unsafe fn si_int(&self) -> c_int
const unsafe fn si_ptr(&self) -> *mut c_void
const unsafe fn si_addr(&self) -> *mut c_void
const unsafe fn si_addr_lsb(&self) -> c_short
const unsafe fn si_lower(&self) -> *mut c_void
const unsafe fn si_upper(&self) -> *mut c_void
const unsafe fn si_pkey(&self) -> u32
const unsafe fn si_band(&self) -> c_long
const unsafe fn si_fd(&self) -> c_int
const unsafe fn si_call_addr(&self) -> *mut c_void
const unsafe fn si_syscall(&self) -> c_int
const unsafe fn si_arch(&self) -> c_uint

Trait Implementations

impl Clone for siginfo_t

fn clone(&self) -> Self

impl Copy for siginfo_t

impl Debug for siginfo_t

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for siginfo_t

impl Hash for siginfo_t

fn hash<H: Hasher>(&self, state: &mut H)

impl PartialEq for siginfo_t

fn eq(&self, other: &Self) -> bool

Auto Trait Implementations

impl !Send for siginfo_t

impl !Sync for siginfo_t

impl Freeze for siginfo_t

impl RefUnwindSafe for siginfo_t

impl Unpin for siginfo_t

impl UnsafeUnpin for siginfo_t

impl UnwindSafe for siginfo_t

Blanket Implementations

impl<T> Any for siginfo_t where T: 'static + ?Sized,

impl<T> Borrow<T> for siginfo_t where T: ?Sized,

impl<T> BorrowMut<T> for siginfo_t where T: ?Sized,

impl<T> CloneToUninit for siginfo_t where T: Clone,

impl<T> From<T> for siginfo_t

impl<T, U> Into<U> for siginfo_t where U: From<T>,

impl<T, U> TryFrom<U> for siginfo_t where U: Into<T>,

impl<T, U> TryInto<U> for siginfo_t where U: TryFrom<T>,