#[repr(C)]pub struct ngx_http_v2_out_frame_s {
pub next: *mut ngx_http_v2_out_frame_s,
pub first: *mut ngx_chain_s,
pub last: *mut ngx_chain_s,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_http_v2_connection_s, _: *mut ngx_http_v2_out_frame_s) -> isize>,
pub stream: *mut ngx_http_v2_stream_s,
pub length: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§next: *mut ngx_http_v2_out_frame_s
§first: *mut ngx_chain_s
§last: *mut ngx_chain_s
§handler: Option<unsafe extern "C" fn(_: *mut ngx_http_v2_connection_s, _: *mut ngx_http_v2_out_frame_s) -> isize>
§stream: *mut ngx_http_v2_stream_s
§length: usize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_v2_out_frame_s
impl ngx_http_v2_out_frame_s
pub fn blocked(&self) -> u32
pub fn set_blocked(&mut self, val: u32)
pub unsafe fn blocked_raw(this: *const ngx_http_v2_out_frame_s) -> u32
pub unsafe fn set_blocked_raw(this: *mut ngx_http_v2_out_frame_s, val: u32)
pub fn fin(&self) -> u32
pub fn set_fin(&mut self, val: u32)
pub unsafe fn fin_raw(this: *const ngx_http_v2_out_frame_s) -> u32
pub unsafe fn set_fin_raw(this: *mut ngx_http_v2_out_frame_s, val: u32)
pub fn new_bitfield_1(blocked: u32, fin: u32) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_v2_out_frame_s
impl Clone for ngx_http_v2_out_frame_s
Source§fn clone(&self) -> ngx_http_v2_out_frame_s
fn clone(&self) -> ngx_http_v2_out_frame_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_out_frame_s
impl Debug for ngx_http_v2_out_frame_s
impl Copy for ngx_http_v2_out_frame_s
Auto Trait Implementations§
impl Freeze for ngx_http_v2_out_frame_s
impl RefUnwindSafe for ngx_http_v2_out_frame_s
impl !Send for ngx_http_v2_out_frame_s
impl !Sync for ngx_http_v2_out_frame_s
impl Unpin for ngx_http_v2_out_frame_s
impl UnwindSafe for ngx_http_v2_out_frame_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