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

unsafe fn si_addr(&self) -> *mut c_void
unsafe fn si_value(&self) -> sigval

impl siginfo_t

unsafe fn si_pid(&self) -> pid_t
unsafe fn si_uid(&self) -> uid_t
unsafe fn si_status(&self) -> c_int
unsafe fn si_utime(&self) -> c_long
unsafe fn si_stime(&self) -> c_long

Trait Implementations

impl Clone for siginfo_t

fn clone(&self) -> siginfo_t

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: &siginfo_t) -> bool

impl StructuralPartialEq for siginfo_t

Auto Trait Implementations

impl Freeze for siginfo_t

impl RefUnwindSafe for siginfo_t

impl Send for siginfo_t

impl Sync 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,

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

fn borrow_mut(&mut self) -> &mut T

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

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for siginfo_t

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>