#[repr(C)]pub struct ngx_event_s {
pub data: *mut c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
pub available: i32,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_event_s)>,
pub index: usize,
pub log: *mut ngx_log_s,
pub timer: ngx_rbtree_node_s,
pub queue: ngx_queue_s,
}
Fields§
§data: *mut c_void
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>
§available: i32
§handler: Option<unsafe extern "C" fn(_: *mut ngx_event_s)>
§index: usize
§log: *mut ngx_log_s
§timer: ngx_rbtree_node_s
§queue: ngx_queue_s
Implementations§
Source§impl ngx_event_s
impl ngx_event_s
pub fn write(&self) -> u32
pub fn set_write(&mut self, val: u32)
pub unsafe fn write_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_write_raw(this: *mut ngx_event_s, val: u32)
pub fn accept(&self) -> u32
pub fn set_accept(&mut self, val: u32)
pub unsafe fn accept_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_accept_raw(this: *mut ngx_event_s, val: u32)
pub fn instance(&self) -> u32
pub fn set_instance(&mut self, val: u32)
pub unsafe fn instance_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_instance_raw(this: *mut ngx_event_s, val: u32)
pub fn active(&self) -> u32
pub fn set_active(&mut self, val: u32)
pub unsafe fn active_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_active_raw(this: *mut ngx_event_s, val: u32)
pub fn disabled(&self) -> u32
pub fn set_disabled(&mut self, val: u32)
pub unsafe fn disabled_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_disabled_raw(this: *mut ngx_event_s, val: u32)
pub fn ready(&self) -> u32
pub fn set_ready(&mut self, val: u32)
pub unsafe fn ready_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_ready_raw(this: *mut ngx_event_s, val: u32)
pub fn oneshot(&self) -> u32
pub fn set_oneshot(&mut self, val: u32)
pub unsafe fn oneshot_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_oneshot_raw(this: *mut ngx_event_s, val: u32)
pub fn complete(&self) -> u32
pub fn set_complete(&mut self, val: u32)
pub unsafe fn complete_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_complete_raw(this: *mut ngx_event_s, val: u32)
pub fn eof(&self) -> u32
pub fn set_eof(&mut self, val: u32)
pub unsafe fn eof_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_eof_raw(this: *mut ngx_event_s, val: u32)
pub fn error(&self) -> u32
pub fn set_error(&mut self, val: u32)
pub unsafe fn error_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_error_raw(this: *mut ngx_event_s, val: u32)
pub fn timedout(&self) -> u32
pub fn set_timedout(&mut self, val: u32)
pub unsafe fn timedout_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_timedout_raw(this: *mut ngx_event_s, val: u32)
pub fn timer_set(&self) -> u32
pub fn set_timer_set(&mut self, val: u32)
pub unsafe fn timer_set_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_timer_set_raw(this: *mut ngx_event_s, val: u32)
pub fn delayed(&self) -> u32
pub fn set_delayed(&mut self, val: u32)
pub unsafe fn delayed_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_delayed_raw(this: *mut ngx_event_s, val: u32)
pub fn deferred_accept(&self) -> u32
pub fn set_deferred_accept(&mut self, val: u32)
pub unsafe fn deferred_accept_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_deferred_accept_raw(this: *mut ngx_event_s, val: u32)
pub fn pending_eof(&self) -> u32
pub fn set_pending_eof(&mut self, val: u32)
pub unsafe fn pending_eof_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_pending_eof_raw(this: *mut ngx_event_s, val: u32)
pub fn posted(&self) -> u32
pub fn set_posted(&mut self, val: u32)
pub unsafe fn posted_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_posted_raw(this: *mut ngx_event_s, val: u32)
pub fn closed(&self) -> u32
pub fn set_closed(&mut self, val: u32)
pub unsafe fn closed_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_closed_raw(this: *mut ngx_event_s, val: u32)
pub fn channel(&self) -> u32
pub fn set_channel(&mut self, val: u32)
pub unsafe fn channel_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_channel_raw(this: *mut ngx_event_s, val: u32)
pub fn resolver(&self) -> u32
pub fn set_resolver(&mut self, val: u32)
pub unsafe fn resolver_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_resolver_raw(this: *mut ngx_event_s, val: u32)
pub fn cancelable(&self) -> u32
pub fn set_cancelable(&mut self, val: u32)
pub unsafe fn cancelable_raw(this: *const ngx_event_s) -> u32
pub unsafe fn set_cancelable_raw(this: *mut ngx_event_s, val: u32)
pub fn new_bitfield_1( write: u32, accept: u32, instance: u32, active: u32, disabled: u32, ready: u32, oneshot: u32, complete: u32, eof: u32, error: u32, timedout: u32, timer_set: u32, delayed: u32, deferred_accept: u32, pending_eof: u32, posted: u32, closed: u32, channel: u32, resolver: u32, cancelable: u32, ) -> __BindgenBitfieldUnit<[u8; 3]>
Trait Implementations§
Source§impl Clone for ngx_event_s
impl Clone for ngx_event_s
Source§fn clone(&self) -> ngx_event_s
fn clone(&self) -> ngx_event_s
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_event_s
impl Debug for ngx_event_s
impl Copy for ngx_event_s
Auto Trait Implementations§
impl Freeze for ngx_event_s
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more