[−][src]Struct solicit::http::frame::window_update::WindowUpdateFrame
The struct represents the WINDOW_UPDATE
HTTP/2 frame.
Implementations
impl WindowUpdateFrame
[src]
pub fn for_connection(increment: u32) -> WindowUpdateFrame
[src]
Creates a new WindowUpdateFrame
that will increment the connection-level window by the
given increment.
pub fn for_stream(stream_id: StreamId, increment: u32) -> WindowUpdateFrame
[src]
Creates a new WindowUpdateFrame
that will increment the given stream's window by the
given increment.
pub fn increment(&self) -> u32
[src]
Returns the window increment indicated by the frame.
Trait Implementations
impl Clone for WindowUpdateFrame
[src]
fn clone(&self) -> WindowUpdateFrame
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WindowUpdateFrame
[src]
impl<'a> Frame<'a> 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: &'a RawFrame<'a>) -> Option<Self>
[src]
fn is_set(&self, _: NoFlag) -> bool
[src]
fn get_stream_id(&self) -> StreamId
[src]
fn get_header(&self) -> FrameHeader
[src]
impl FrameIR for WindowUpdateFrame
[src]
fn serialize_into<B: FrameBuilder>(self, builder: &mut B) -> Result<()>
[src]
impl PartialEq<WindowUpdateFrame> for WindowUpdateFrame
[src]
fn eq(&self, other: &WindowUpdateFrame) -> bool
[src]
fn ne(&self, other: &WindowUpdateFrame) -> bool
[src]
impl StructuralPartialEq for WindowUpdateFrame
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowUpdateFrame
impl Send for WindowUpdateFrame
impl Sync for WindowUpdateFrame
impl Unpin for WindowUpdateFrame
impl UnwindSafe for WindowUpdateFrame
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,