Struct rs_streams::siginfo_t[][src]

#[repr(C)]
pub struct siginfo_t { pub si_signo: i32, pub si_errno: i32, pub si_code: i32, // some fields omitted }

Fields

si_signo: i32si_errno: i32si_code: i32

Implementations

impl siginfo_t[src]

pub unsafe fn si_addr(&self) -> *mut c_void[src]

pub unsafe fn si_value(&self) -> sigval[src]

impl siginfo_t[src]

pub unsafe fn si_pid(&self) -> i32[src]

pub unsafe fn si_uid(&self) -> u32[src]

pub unsafe fn si_status(&self) -> i32[src]

pub unsafe fn si_utime(&self) -> i64[src]

pub unsafe fn si_stime(&self) -> i64[src]

Trait Implementations

impl Clone for siginfo_t[src]

pub fn clone(&self) -> siginfo_t[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for siginfo_t[src]

Auto Trait Implementations

impl Send for siginfo_t

impl Sync for siginfo_t

impl Unpin for siginfo_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.