#[repr(C)]pub struct ngx_http_v2_stream_s {Show 17 fields
pub request: *mut ngx_http_request_s,
pub connection: *mut ngx_http_v2_connection_s,
pub node: *mut ngx_http_v2_node_s,
pub queued: usize,
pub send_window: isize,
pub recv_window: usize,
pub preread: *mut ngx_buf_s,
pub frames: usize,
pub free_frames: *mut ngx_http_v2_out_frame_s,
pub free_frame_headers: *mut ngx_chain_s,
pub free_bufs: *mut ngx_chain_s,
pub queue: ngx_queue_s,
pub cookies: *mut ngx_array_t,
pub pool: *mut ngx_pool_s,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§request: *mut ngx_http_request_s
§connection: *mut ngx_http_v2_connection_s
§node: *mut ngx_http_v2_node_s
§queued: usize
§send_window: isize
§recv_window: usize
§preread: *mut ngx_buf_s
§frames: usize
§free_frames: *mut ngx_http_v2_out_frame_s
§free_frame_headers: *mut ngx_chain_s
§free_bufs: *mut ngx_chain_s
§queue: ngx_queue_s
§pool: *mut ngx_pool_s
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_v2_stream_s
impl ngx_http_v2_stream_s
pub fn waiting(&self) -> u32
pub fn set_waiting(&mut self, val: u32)
pub unsafe fn waiting_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_waiting_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn blocked(&self) -> u32
pub fn set_blocked(&mut self, val: u32)
pub unsafe fn blocked_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_blocked_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn exhausted(&self) -> u32
pub fn set_exhausted(&mut self, val: u32)
pub unsafe fn exhausted_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_exhausted_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn in_closed(&self) -> u32
pub fn set_in_closed(&mut self, val: u32)
pub unsafe fn in_closed_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_in_closed_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn out_closed(&self) -> u32
pub fn set_out_closed(&mut self, val: u32)
pub unsafe fn out_closed_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_out_closed_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn rst_sent(&self) -> u32
pub fn set_rst_sent(&mut self, val: u32)
pub unsafe fn rst_sent_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_rst_sent_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn no_flow_control(&self) -> u32
pub fn set_no_flow_control(&mut self, val: u32)
pub unsafe fn no_flow_control_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_no_flow_control_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn skip_data(&self) -> u32
pub fn set_skip_data(&mut self, val: u32)
pub unsafe fn skip_data_raw(this: *const ngx_http_v2_stream_s) -> u32
pub unsafe fn set_skip_data_raw(this: *mut ngx_http_v2_stream_s, val: u32)
pub fn new_bitfield_1( waiting: u32, blocked: u32, exhausted: u32, in_closed: u32, out_closed: u32, rst_sent: u32, no_flow_control: u32, skip_data: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_v2_stream_s
impl Clone for ngx_http_v2_stream_s
Source§fn clone(&self) -> ngx_http_v2_stream_s
fn clone(&self) -> ngx_http_v2_stream_s
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_http_v2_stream_s
impl Debug for ngx_http_v2_stream_s
impl Copy for ngx_http_v2_stream_s
Auto Trait Implementations§
impl Freeze for ngx_http_v2_stream_s
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more