[][src]Struct nginx::ngx_http_v2_stream_s

#[repr(C)]pub struct ngx_http_v2_stream_s {
    pub request: *mut ngx_http_request_t,
    pub connection: *mut ngx_http_v2_connection_t,
    pub node: *mut ngx_http_v2_node_t,
    pub queued: ngx_uint_t,
    pub send_window: ssize_t,
    pub recv_window: size_t,
    pub preread: *mut ngx_buf_t,
    pub frames: ngx_uint_t,
    pub free_frames: *mut ngx_http_v2_out_frame_t,
    pub free_frame_headers: *mut ngx_chain_t,
    pub free_bufs: *mut ngx_chain_t,
    pub queue: ngx_queue_t,
    pub cookies: *mut ngx_array_t,
    pub pool: *mut ngx_pool_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Fields

request: *mut ngx_http_request_tconnection: *mut ngx_http_v2_connection_tnode: *mut ngx_http_v2_node_tqueued: ngx_uint_tsend_window: ssize_trecv_window: size_tpreread: *mut ngx_buf_tframes: ngx_uint_tfree_frames: *mut ngx_http_v2_out_frame_tfree_frame_headers: *mut ngx_chain_tfree_bufs: *mut ngx_chain_tqueue: ngx_queue_tcookies: *mut ngx_array_tpool: *mut ngx_pool_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ngx_http_v2_stream_s[src]

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

pub fn set_waiting(&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 exhausted(&self) -> c_uint[src]

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    waiting: c_uint,
    blocked: c_uint,
    exhausted: c_uint,
    in_closed: c_uint,
    out_closed: c_uint,
    rst_sent: c_uint,
    no_flow_control: c_uint,
    skip_data: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_http_v2_stream_s[src]

impl Copy for ngx_http_v2_stream_s[src]

impl Debug for ngx_http_v2_stream_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_v2_stream_s

impl !Send for ngx_http_v2_stream_s

impl !Sync for ngx_http_v2_stream_s

impl Unpin for ngx_http_v2_stream_s

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