#[repr(C)]pub struct ngx_stream_session_s {Show 21 fields
pub signature: u32,
pub connection: *mut ngx_connection_s,
pub received: i64,
pub start_sec: i64,
pub start_msec: usize,
pub log_handler: Option<unsafe extern "C" fn(*mut ngx_log_s, *mut u8, usize) -> *mut u8>,
pub ctx: *mut *mut c_void,
pub main_conf: *mut *mut c_void,
pub srv_conf: *mut *mut c_void,
pub virtual_names: *mut ngx_stream_virtual_names_t,
pub upstream: *mut ngx_stream_upstream_t,
pub upstream_states: *mut ngx_array_t,
pub variables: *mut ngx_variable_value_t,
pub ncaptures: usize,
pub captures: *mut i32,
pub captures_data: *mut u8,
pub phase_handler: isize,
pub status: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§signature: u32
§connection: *mut ngx_connection_s
§received: i64
§start_sec: i64
§start_msec: usize
§log_handler: Option<unsafe extern "C" fn(*mut ngx_log_s, *mut u8, usize) -> *mut u8>
§ctx: *mut *mut c_void
§main_conf: *mut *mut c_void
§srv_conf: *mut *mut c_void
§virtual_names: *mut ngx_stream_virtual_names_t
§upstream: *mut ngx_stream_upstream_t
§upstream_states: *mut ngx_array_t
§variables: *mut ngx_variable_value_t
§ncaptures: usize
§captures: *mut i32
§captures_data: *mut u8
§phase_handler: isize
§status: usize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_stream_session_s
impl ngx_stream_session_s
pub fn ssl(&self) -> u32
pub fn set_ssl(&mut self, val: u32)
pub unsafe fn ssl_raw(this: *const ngx_stream_session_s) -> u32
pub unsafe fn set_ssl_raw(this: *mut ngx_stream_session_s, val: u32)
pub fn stat_processing(&self) -> u32
pub fn set_stat_processing(&mut self, val: u32)
pub unsafe fn stat_processing_raw(this: *const ngx_stream_session_s) -> u32
pub unsafe fn set_stat_processing_raw(this: *mut ngx_stream_session_s, val: u32)
pub fn health_check(&self) -> u32
pub fn set_health_check(&mut self, val: u32)
pub unsafe fn health_check_raw(this: *const ngx_stream_session_s) -> u32
pub unsafe fn set_health_check_raw(this: *mut ngx_stream_session_s, val: u32)
pub fn limit_conn_status(&self) -> u32
pub fn set_limit_conn_status(&mut self, val: u32)
pub unsafe fn limit_conn_status_raw(this: *const ngx_stream_session_s) -> u32
pub unsafe fn set_limit_conn_status_raw( this: *mut ngx_stream_session_s, val: u32, )
pub fn new_bitfield_1( ssl: u32, stat_processing: u32, health_check: u32, limit_conn_status: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_stream_session_s
impl Clone for ngx_stream_session_s
Source§fn clone(&self) -> ngx_stream_session_s
fn clone(&self) -> ngx_stream_session_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_stream_session_s
impl Debug for ngx_stream_session_s
impl Copy for ngx_stream_session_s
Auto Trait Implementations§
impl Freeze for ngx_stream_session_s
impl RefUnwindSafe for ngx_stream_session_s
impl !Send for ngx_stream_session_s
impl !Sync for ngx_stream_session_s
impl Unpin for ngx_stream_session_s
impl UnwindSafe for ngx_stream_session_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