Type Alias ngx_ssl_connection_t

Source
pub type ngx_ssl_connection_t = ngx_ssl_connection_s;

Aliased Type§

struct ngx_ssl_connection_t {
Show 15 fields pub connection: *mut ssl_st, pub session_ctx: *mut ssl_ctx_st, pub last: isize, pub buf: *mut ngx_buf_s, pub buffer_size: usize, pub handler: Option<unsafe extern "C" fn(*mut ngx_connection_s)>, pub session: *mut ssl_session_st, pub save_session: Option<unsafe extern "C" fn(*mut ngx_connection_s)>, pub saved_read_handler: Option<unsafe extern "C" fn(*mut ngx_event_s)>, pub saved_write_handler: Option<unsafe extern "C" fn(*mut ngx_event_s)>, pub ocsp: *mut ngx_ssl_ocsp_s, pub early_buf: u8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub __bindgen_padding_0: [u8; 5],
}

Fields§

§connection: *mut ssl_st§session_ctx: *mut ssl_ctx_st§last: isize§buf: *mut ngx_buf_s§buffer_size: usize§handler: Option<unsafe extern "C" fn(*mut ngx_connection_s)>§session: *mut ssl_session_st§save_session: Option<unsafe extern "C" fn(*mut ngx_connection_s)>§saved_read_handler: Option<unsafe extern "C" fn(*mut ngx_event_s)>§saved_write_handler: Option<unsafe extern "C" fn(*mut ngx_event_s)>§ocsp: *mut ngx_ssl_ocsp_s§early_buf: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: [u8; 5]

Implementations

Source§

impl ngx_ssl_connection_s

Source

pub fn handshaked(&self) -> u32

Source

pub fn set_handshaked(&mut self, val: u32)

Source

pub unsafe fn handshaked_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_handshaked_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn handshake_rejected(&self) -> u32

Source

pub fn set_handshake_rejected(&mut self, val: u32)

Source

pub unsafe fn handshake_rejected_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_handshake_rejected_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn renegotiation(&self) -> u32

Source

pub fn set_renegotiation(&mut self, val: u32)

Source

pub unsafe fn renegotiation_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_renegotiation_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn buffer(&self) -> u32

Source

pub fn set_buffer(&mut self, val: u32)

Source

pub unsafe fn buffer_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_buffer_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn sendfile(&self) -> u32

Source

pub fn set_sendfile(&mut self, val: u32)

Source

pub unsafe fn sendfile_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_sendfile_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn no_wait_shutdown(&self) -> u32

Source

pub fn set_no_wait_shutdown(&mut self, val: u32)

Source

pub unsafe fn no_wait_shutdown_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_no_wait_shutdown_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn no_send_shutdown(&self) -> u32

Source

pub fn set_no_send_shutdown(&mut self, val: u32)

Source

pub unsafe fn no_send_shutdown_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_no_send_shutdown_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn shutdown_without_free(&self) -> u32

Source

pub fn set_shutdown_without_free(&mut self, val: u32)

Source

pub unsafe fn shutdown_without_free_raw( this: *const ngx_ssl_connection_s, ) -> u32

Source

pub unsafe fn set_shutdown_without_free_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn handshake_buffer_set(&self) -> u32

Source

pub fn set_handshake_buffer_set(&mut self, val: u32)

Source

pub unsafe fn handshake_buffer_set_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_handshake_buffer_set_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn session_timeout_set(&self) -> u32

Source

pub fn set_session_timeout_set(&mut self, val: u32)

Source

pub unsafe fn session_timeout_set_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_session_timeout_set_raw( this: *mut ngx_ssl_connection_s, val: u32, )

Source

pub fn try_early_data(&self) -> u32

Source

pub fn set_try_early_data(&mut self, val: u32)

Source

pub unsafe fn try_early_data_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_try_early_data_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn in_early(&self) -> u32

Source

pub fn set_in_early(&mut self, val: u32)

Source

pub unsafe fn in_early_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_in_early_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn in_ocsp(&self) -> u32

Source

pub fn set_in_ocsp(&mut self, val: u32)

Source

pub unsafe fn in_ocsp_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_in_ocsp_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn early_preread(&self) -> u32

Source

pub fn set_early_preread(&mut self, val: u32)

Source

pub unsafe fn early_preread_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_early_preread_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn write_blocked(&self) -> u32

Source

pub fn set_write_blocked(&mut self, val: u32)

Source

pub unsafe fn write_blocked_raw(this: *const ngx_ssl_connection_s) -> u32

Source

pub unsafe fn set_write_blocked_raw(this: *mut ngx_ssl_connection_s, val: u32)

Source

pub fn new_bitfield_1( handshaked: u32, handshake_rejected: u32, renegotiation: u32, buffer: u32, sendfile: u32, no_wait_shutdown: u32, no_send_shutdown: u32, shutdown_without_free: u32, handshake_buffer_set: u32, session_timeout_set: u32, try_early_data: u32, in_early: u32, in_ocsp: u32, early_preread: u32, write_blocked: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>

Trait Implementations

Source§

impl Clone for ngx_ssl_connection_s

Source§

fn clone(&self) -> ngx_ssl_connection_s

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ngx_ssl_connection_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for ngx_ssl_connection_s