[][src]Struct nginx::ngx_http_v2_state_t

#[repr(C)]pub struct ngx_http_v2_state_t {
    pub sid: ngx_uint_t,
    pub length: size_t,
    pub padding: size_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub header: ngx_http_v2_header_t,
    pub header_limit: size_t,
    pub field_state: u_char,
    pub field_start: *mut u_char,
    pub field_end: *mut u_char,
    pub field_rest: size_t,
    pub pool: *mut ngx_pool_t,
    pub stream: *mut ngx_http_v2_stream_t,
    pub buffer: [u_char; 16],
    pub buffer_used: size_t,
    pub handler: ngx_http_v2_handler_pt,
}

Fields

sid: ngx_uint_tlength: size_tpadding: size_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>header: ngx_http_v2_header_theader_limit: size_tfield_state: u_charfield_start: *mut u_charfield_end: *mut u_charfield_rest: size_tpool: *mut ngx_pool_tstream: *mut ngx_http_v2_stream_tbuffer: [u_char; 16]buffer_used: size_thandler: ngx_http_v2_handler_pt

Implementations

impl ngx_http_v2_state_t[src]

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    flags: c_uint,
    incomplete: c_uint,
    keep_pool: c_uint,
    parse_name: c_uint,
    parse_value: c_uint,
    index: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_http_v2_state_t[src]

impl Copy for ngx_http_v2_state_t[src]

impl Debug for ngx_http_v2_state_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_v2_state_t

impl !Send for ngx_http_v2_state_t

impl !Sync for ngx_http_v2_state_t

impl Unpin for ngx_http_v2_state_t

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