Struct libnghttp2_sys::nghttp2_push_promise [−][src]
@struct
The PUSH_PROMISE frame. It has the following members:
Fields
hd: nghttp2_frame_hdThe frame header.
padlen: usizeThe length of the padding in this frame. This includes PAD_HIGH and PAD_LOW.
nva: *mut nghttp2_nvThe name/value pairs.
nvlen: usizeThe number of name/value pairs in |nva|.
promised_stream_id: i32The promised stream ID
reserved: u8Reserved bit. Currently this is always set to 0 and application should not expect something useful in here.
Trait Implementations
impl Clone for nghttp2_push_promise[src]
fn clone(&self) -> nghttp2_push_promise[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for nghttp2_push_promise[src]
impl Debug for nghttp2_push_promise[src]
Auto Trait Implementations
impl RefUnwindSafe for nghttp2_push_promise
impl !Send for nghttp2_push_promise
impl !Sync for nghttp2_push_promise
impl Unpin for nghttp2_push_promise
impl UnwindSafe for nghttp2_push_promise
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,