[][src]Union nc::sem::semun_t

#[repr(C)]
pub union semun_t {
    pub val: i32,
    pub buf: *mut semid_ds_t,
    pub array: *mut u16,
    pub info_buf: seminfo_t,
    // some fields omitted
}

arg for semctl system calls.

Fields

val: i32

value for SETVAL

buf: *mut semid_ds_t

buffer for IPC_STAT & IPC_SET

array: *mut u16

array for GETALL & SETALL

info_buf: seminfo_t

buffer for IPC_INFO

Trait Implementations

impl Copy for semun_t[src]

impl Clone for semun_t[src]

Auto Trait Implementations

impl Unpin for semun_t

impl !Send for semun_t

impl !Sync for semun_t

Blanket Implementations

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

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.

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

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.

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.