[][src]Struct nginx::ngx_event_s

#[repr(C)]pub struct ngx_event_s {
    pub data: *mut c_void,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3], u8>,
    pub available: c_int,
    pub handler: ngx_event_handler_pt,
    pub index: ngx_uint_t,
    pub log: *mut ngx_log_t,
    pub timer: ngx_rbtree_node_t,
    pub queue: ngx_queue_t,
}

Fields

data: *mut c_void_bitfield_1: __BindgenBitfieldUnit<[u8; 3], u8>available: c_inthandler: ngx_event_handler_ptindex: ngx_uint_tlog: *mut ngx_log_ttimer: ngx_rbtree_node_tqueue: ngx_queue_t

Implementations

impl ngx_event_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    write: c_uint,
    accept: c_uint,
    instance: c_uint,
    active: c_uint,
    disabled: c_uint,
    ready: c_uint,
    oneshot: c_uint,
    complete: c_uint,
    eof: c_uint,
    error: c_uint,
    timedout: c_uint,
    timer_set: c_uint,
    delayed: c_uint,
    deferred_accept: c_uint,
    pending_eof: c_uint,
    posted: c_uint,
    closed: c_uint,
    channel: c_uint,
    resolver: c_uint,
    cancelable: c_uint
) -> __BindgenBitfieldUnit<[u8; 3], u8>
[src]

Trait Implementations

impl Clone for ngx_event_s[src]

impl Copy for ngx_event_s[src]

impl Debug for ngx_event_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_event_s

impl !Send for ngx_event_s

impl !Sync for ngx_event_s

impl Unpin for ngx_event_s

impl UnwindSafe for ngx_event_s

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.