#[repr(C)]pub struct ngx_log_s {
pub log_level: usize,
pub file: *mut ngx_open_file_s,
pub connection: u64,
pub disk_full_time: i64,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_log_s, _: *mut u8, _: usize) -> *mut u8>,
pub data: *mut c_void,
pub writer: Option<unsafe extern "C" fn(_: *mut ngx_log_s, _: usize, _: *mut u8, _: usize)>,
pub wdata: *mut c_void,
pub action: *mut i8,
pub next: *mut ngx_log_s,
}
Fields§
§log_level: usize
§file: *mut ngx_open_file_s
§connection: u64
§disk_full_time: i64
§handler: Option<unsafe extern "C" fn(_: *mut ngx_log_s, _: *mut u8, _: usize) -> *mut u8>
§data: *mut c_void
§writer: Option<unsafe extern "C" fn(_: *mut ngx_log_s, _: usize, _: *mut u8, _: usize)>
§wdata: *mut c_void
§action: *mut i8
§next: *mut ngx_log_s
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ngx_log_s
impl RefUnwindSafe for ngx_log_s
impl !Send for ngx_log_s
impl !Sync for ngx_log_s
impl Unpin for ngx_log_s
impl UnwindSafe for ngx_log_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