Struct libnghttp2_sys::nghttp2_headers
source · [−]#[repr(C)]pub struct nghttp2_headers {
pub hd: nghttp2_frame_hd,
pub padlen: usize,
pub pri_spec: nghttp2_priority_spec,
pub nva: *mut nghttp2_nv,
pub nvlen: usize,
pub cat: nghttp2_headers_category,
}
Expand description
@struct
The HEADERS frame. It has the following members:
Fields
hd: nghttp2_frame_hd
The frame header.
padlen: usize
The length of the padding in this frame. This includes PAD_HIGH and PAD_LOW.
pri_spec: nghttp2_priority_spec
The priority specification
nva: *mut nghttp2_nv
The name/value pairs.
nvlen: usize
The number of name/value pairs in |nva|.
cat: nghttp2_headers_category
The category of this HEADERS frame.
Trait Implementations
sourceimpl Clone for nghttp2_headers
impl Clone for nghttp2_headers
sourcefn clone(&self) -> nghttp2_headers
fn clone(&self) -> nghttp2_headers
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for nghttp2_headers
impl Debug for nghttp2_headers
impl Copy for nghttp2_headers
Auto Trait Implementations
impl RefUnwindSafe for nghttp2_headers
impl !Send for nghttp2_headers
impl !Sync for nghttp2_headers
impl Unpin for nghttp2_headers
impl UnwindSafe for nghttp2_headers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more