[][src]Struct nginx::ngx_process_t

#[repr(C)]pub struct ngx_process_t {
    pub pid: ngx_pid_t,
    pub status: c_int,
    pub channel: [ngx_socket_t; 2],
    pub proc_: ngx_spawn_proc_pt,
    pub data: *mut c_void,
    pub name: *mut c_char,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Fields

pid: ngx_pid_tstatus: c_intchannel: [ngx_socket_t; 2]proc_: ngx_spawn_proc_ptdata: *mut c_voidname: *mut c_char_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ngx_process_t[src]

pub fn respawn(&self) -> c_uint[src]

pub fn set_respawn(&mut self, val: c_uint)[src]

pub fn just_spawn(&self) -> c_uint[src]

pub fn set_just_spawn(&mut self, val: c_uint)[src]

pub fn detached(&self) -> c_uint[src]

pub fn set_detached(&mut self, val: c_uint)[src]

pub fn exiting(&self) -> c_uint[src]

pub fn set_exiting(&mut self, val: c_uint)[src]

pub fn exited(&self) -> c_uint[src]

pub fn set_exited(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    respawn: c_uint,
    just_spawn: c_uint,
    detached: c_uint,
    exiting: c_uint,
    exited: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_process_t[src]

impl Copy for ngx_process_t[src]

impl Debug for ngx_process_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_process_t

impl !Send for ngx_process_t

impl !Sync for ngx_process_t

impl Unpin for ngx_process_t

impl UnwindSafe for ngx_process_t

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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.