Union libnghttp2_sys::nghttp2_frame [−][src]
@union
This union includes all frames to pass them to various function calls as nghttp2_frame type. The CONTINUATION frame is omitted from here because the library deals with it internally.
Fields
hd: nghttp2_frame_hd
The frame header, which is convenient to inspect frame header.
data: nghttp2_data
The DATA frame.
headers: nghttp2_headers
The HEADERS frame.
priority: nghttp2_priority
The PRIORITY frame.
rst_stream: nghttp2_rst_stream
The RST_STREAM frame.
settings: nghttp2_settings
The SETTINGS frame.
push_promise: nghttp2_push_promise
The PUSH_PROMISE frame.
ping: nghttp2_ping
The PING frame.
goaway: nghttp2_goaway
The GOAWAY frame.
window_update: nghttp2_window_update
The WINDOW_UPDATE frame.
ext: nghttp2_extension
The extension frame.
Trait Implementations
impl Clone for nghttp2_frame
[src]
fn clone(&self) -> nghttp2_frame
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for nghttp2_frame
[src]
Auto Trait Implementations
impl RefUnwindSafe for nghttp2_frame
impl !Send for nghttp2_frame
impl !Sync for nghttp2_frame
impl Unpin for nghttp2_frame
impl UnwindSafe for nghttp2_frame
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>,