[][src]Struct nginx::ngx_http_v2_connection_s

#[repr(C)]pub struct ngx_http_v2_connection_s {
    pub connection: *mut ngx_connection_t,
    pub http_connection: *mut ngx_http_connection_t,
    pub total_bytes: off_t,
    pub payload_bytes: off_t,
    pub processing: ngx_uint_t,
    pub frames: ngx_uint_t,
    pub idle: ngx_uint_t,
    pub priority_limit: ngx_uint_t,
    pub pushing: ngx_uint_t,
    pub concurrent_pushes: ngx_uint_t,
    pub send_window: size_t,
    pub recv_window: size_t,
    pub init_window: size_t,
    pub frame_size: size_t,
    pub waiting: ngx_queue_t,
    pub state: ngx_http_v2_state_t,
    pub hpack: ngx_http_v2_hpack_t,
    pub pool: *mut ngx_pool_t,
    pub free_frames: *mut ngx_http_v2_out_frame_t,
    pub free_fake_connections: *mut ngx_connection_t,
    pub streams_index: *mut *mut ngx_http_v2_node_t,
    pub last_out: *mut ngx_http_v2_out_frame_t,
    pub dependencies: ngx_queue_t,
    pub closed: ngx_queue_t,
    pub last_sid: ngx_uint_t,
    pub last_push: ngx_uint_t,
    pub lingering_time: time_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u16; 3],
}

Fields

connection: *mut ngx_connection_thttp_connection: *mut ngx_http_connection_ttotal_bytes: off_tpayload_bytes: off_tprocessing: ngx_uint_tframes: ngx_uint_tidle: ngx_uint_tpriority_limit: ngx_uint_tpushing: ngx_uint_tconcurrent_pushes: ngx_uint_tsend_window: size_trecv_window: size_tinit_window: size_tframe_size: size_twaiting: ngx_queue_tstate: ngx_http_v2_state_thpack: ngx_http_v2_hpack_tpool: *mut ngx_pool_tfree_frames: *mut ngx_http_v2_out_frame_tfree_fake_connections: *mut ngx_connection_tstreams_index: *mut *mut ngx_http_v2_node_tlast_out: *mut ngx_http_v2_out_frame_tdependencies: ngx_queue_tclosed: ngx_queue_tlast_sid: ngx_uint_tlast_push: ngx_uint_tlingering_time: time_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u16; 3]

Implementations

impl ngx_http_v2_connection_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    closed_nodes: c_uint,
    settings_ack: c_uint,
    table_update: c_uint,
    blocked: c_uint,
    goaway: c_uint,
    push_disabled: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_http_v2_connection_s[src]

impl Copy for ngx_http_v2_connection_s[src]

impl Debug for ngx_http_v2_connection_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_v2_connection_s

impl !Send for ngx_http_v2_connection_s

impl !Sync for ngx_http_v2_connection_s

impl Unpin for ngx_http_v2_connection_s

impl UnwindSafe for ngx_http_v2_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.