[][src]Struct nginx::ngx_http_connection_t

#[repr(C)]pub struct ngx_http_connection_t {
    pub addr_conf: *mut ngx_http_addr_conf_t,
    pub conf_ctx: *mut ngx_http_conf_ctx_t,
    pub ssl_servername: *mut ngx_str_t,
    pub ssl_servername_regex: *mut ngx_http_regex_t,
    pub busy: *mut ngx_chain_t,
    pub nbusy: ngx_int_t,
    pub free: *mut ngx_chain_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Fields

addr_conf: *mut ngx_http_addr_conf_tconf_ctx: *mut ngx_http_conf_ctx_tssl_servername: *mut ngx_str_tssl_servername_regex: *mut ngx_http_regex_tbusy: *mut ngx_chain_tnbusy: ngx_int_tfree: *mut ngx_chain_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ngx_http_connection_t[src]

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

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

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

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

pub fn new_bitfield_1(
    ssl: c_uint,
    proxy_protocol: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_http_connection_t[src]

impl Copy for ngx_http_connection_t[src]

impl Debug for ngx_http_connection_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_connection_t

impl !Send for ngx_http_connection_t

impl !Sync for ngx_http_connection_t

impl Unpin for ngx_http_connection_t

impl UnwindSafe for ngx_http_connection_t

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.