Struct httpbis::solicit::frame::window_update::WindowUpdateFrame
[−]
[src]
pub struct WindowUpdateFrame { /* fields omitted */ }
The struct represents the WINDOW_UPDATE
HTTP/2 frame.
Methods
impl WindowUpdateFrame
[src]
fn for_connection(increment: u32) -> WindowUpdateFrame
Creates a new WindowUpdateFrame
that will increment the connection-level window by the
given increment.
fn for_stream(stream_id: StreamId, increment: u32) -> WindowUpdateFrame
Creates a new WindowUpdateFrame
that will increment the given stream's window by the
given increment.
fn increment(&self) -> u32
Returns the window increment indicated by the frame.
Trait Implementations
impl Clone for WindowUpdateFrame
[src]
fn clone(&self) -> WindowUpdateFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for WindowUpdateFrame
[src]
impl PartialEq for WindowUpdateFrame
[src]
fn eq(&self, __arg_0: &WindowUpdateFrame) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WindowUpdateFrame) -> bool
This method tests for !=
.
impl Frame for WindowUpdateFrame
[src]
type FlagType = NoFlag
The type that represents the flags that the particular Frame
can take. This makes sure that only valid Flag
s are used with each Frame
. Read more
fn from_raw(raw_frame: &RawFrame) -> Option<Self>
Creates a new Frame
from the given RawFrame
(i.e. header and payload), if possible. Read more
fn is_set(&self, _: NoFlag) -> bool
Tests if the given flag is set for the frame.
fn get_stream_id(&self) -> StreamId
Returns the StreamId
of the stream to which the frame is associated
fn get_header(&self) -> FrameHeader
Returns a FrameHeader
based on the current state of the Frame
.
impl FrameIR for WindowUpdateFrame
[src]
fn serialize_into<B: FrameBuilder>(self, builder: &mut B) -> Result<()>
Write out the on-the-wire representation of the frame into the given FrameBuilder
.
fn serialize_into_vec(self) -> Vec<u8> where
Self: Sized,
Self: Sized,