#[repr(C)]pub struct ngx_event_aio_s {
pub data: *mut c_void,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_event_s)>,
pub file: *mut ngx_file_s,
pub fd: i32,
pub res: i64,
pub aiocb: iocb,
pub event: ngx_event_s,
}
Fields§
§data: *mut c_void
§handler: Option<unsafe extern "C" fn(_: *mut ngx_event_s)>
§file: *mut ngx_file_s
§fd: i32
§res: i64
§aiocb: iocb
§event: ngx_event_s
Trait Implementations§
Source§impl Clone for ngx_event_aio_s
impl Clone for ngx_event_aio_s
Source§fn clone(&self) -> ngx_event_aio_s
fn clone(&self) -> ngx_event_aio_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_aio_s
impl Debug for ngx_event_aio_s
impl Copy for ngx_event_aio_s
Auto Trait Implementations§
impl Freeze for ngx_event_aio_s
impl RefUnwindSafe for ngx_event_aio_s
impl !Send for ngx_event_aio_s
impl !Sync for ngx_event_aio_s
impl Unpin for ngx_event_aio_s
impl UnwindSafe for ngx_event_aio_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