[][src]Struct nginx::ngx_ssl_connection_s

#[repr(C)]pub struct ngx_ssl_connection_s {
    pub connection: *mut SSL,
    pub session_ctx: *mut SSL_CTX,
    pub last: ngx_int_t,
    pub buf: *mut ngx_buf_t,
    pub buffer_size: size_t,
    pub handler: ngx_connection_handler_pt,
    pub session: *mut SSL_SESSION,
    pub save_session: ngx_connection_handler_pt,
    pub saved_read_handler: ngx_event_handler_pt,
    pub saved_write_handler: ngx_event_handler_pt,
    pub ocsp: *mut ngx_ssl_ocsp_t,
    pub early_buf: u_char,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u8; 5],
}

Fields

connection: *mut SSLsession_ctx: *mut SSL_CTXlast: ngx_int_tbuf: *mut ngx_buf_tbuffer_size: size_thandler: ngx_connection_handler_ptsession: *mut SSL_SESSIONsave_session: ngx_connection_handler_ptsaved_read_handler: ngx_event_handler_ptsaved_write_handler: ngx_event_handler_ptocsp: *mut ngx_ssl_ocsp_tearly_buf: u_char_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u8; 5]

Implementations

impl ngx_ssl_connection_s[src]

pub fn handshaked(&self) -> c_uint[src]

pub fn set_handshaked(&mut self, val: c_uint)[src]

pub fn renegotiation(&self) -> c_uint[src]

pub fn set_renegotiation(&mut self, val: c_uint)[src]

pub fn buffer(&self) -> c_uint[src]

pub fn set_buffer(&mut self, val: c_uint)[src]

pub fn no_wait_shutdown(&self) -> c_uint[src]

pub fn set_no_wait_shutdown(&mut self, val: c_uint)[src]

pub fn no_send_shutdown(&self) -> c_uint[src]

pub fn set_no_send_shutdown(&mut self, val: c_uint)[src]

pub fn handshake_buffer_set(&self) -> c_uint[src]

pub fn set_handshake_buffer_set(&mut self, val: c_uint)[src]

pub fn try_early_data(&self) -> c_uint[src]

pub fn set_try_early_data(&mut self, val: c_uint)[src]

pub fn in_early(&self) -> c_uint[src]

pub fn set_in_early(&mut self, val: c_uint)[src]

pub fn in_ocsp(&self) -> c_uint[src]

pub fn set_in_ocsp(&mut self, val: c_uint)[src]

pub fn early_preread(&self) -> c_uint[src]

pub fn set_early_preread(&mut self, val: c_uint)[src]

pub fn write_blocked(&self) -> c_uint[src]

pub fn set_write_blocked(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    handshaked: c_uint,
    renegotiation: c_uint,
    buffer: c_uint,
    no_wait_shutdown: c_uint,
    no_send_shutdown: c_uint,
    handshake_buffer_set: c_uint,
    try_early_data: c_uint,
    in_early: c_uint,
    in_ocsp: c_uint,
    early_preread: c_uint,
    write_blocked: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_ssl_connection_s[src]

impl Copy for ngx_ssl_connection_s[src]

impl Debug for ngx_ssl_connection_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_ssl_connection_s

impl !Send for ngx_ssl_connection_s

impl !Sync for ngx_ssl_connection_s

impl Unpin for ngx_ssl_connection_s

impl UnwindSafe for ngx_ssl_connection_s

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.