#[repr(C)]pub struct ngx_tree_ctx_s {
pub size: i64,
pub fs_size: i64,
pub access: usize,
pub mtime: i64,
pub init_handler: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> isize>,
pub file_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>,
pub pre_tree_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>,
pub post_tree_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>,
pub spec_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>,
pub data: *mut c_void,
pub alloc: usize,
pub log: *mut ngx_log_s,
}
Fields§
§size: i64
§fs_size: i64
§access: usize
§mtime: i64
§init_handler: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> isize>
§file_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>
§pre_tree_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>
§post_tree_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>
§spec_handler: Option<unsafe extern "C" fn(_: *mut ngx_tree_ctx_s, _: *mut ngx_str_t) -> isize>
§data: *mut c_void
§alloc: usize
§log: *mut ngx_log_s
Trait Implementations§
Source§impl Clone for ngx_tree_ctx_s
impl Clone for ngx_tree_ctx_s
Source§fn clone(&self) -> ngx_tree_ctx_s
fn clone(&self) -> ngx_tree_ctx_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_tree_ctx_s
impl Debug for ngx_tree_ctx_s
impl Copy for ngx_tree_ctx_s
Auto Trait Implementations§
impl Freeze for ngx_tree_ctx_s
impl RefUnwindSafe for ngx_tree_ctx_s
impl !Send for ngx_tree_ctx_s
impl !Sync for ngx_tree_ctx_s
impl Unpin for ngx_tree_ctx_s
impl UnwindSafe for ngx_tree_ctx_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