Struct ntex_h2::frame::WindowUpdate
source · pub struct WindowUpdate { /* private fields */ }Implementations§
source§impl WindowUpdate
impl WindowUpdate
pub fn new(stream_id: StreamId, size_increment: u32) -> WindowUpdate
pub fn stream_id(&self) -> StreamId
pub fn size_increment(&self) -> u32
sourcepub fn load(head: Head, payload: &[u8]) -> Result<WindowUpdate, FrameError>
pub fn load(head: Head, payload: &[u8]) -> Result<WindowUpdate, FrameError>
Builds a WindowUpdate frame from a raw frame.
pub fn encode<B: BufMut>(&self, dst: &mut B)
Trait Implementations§
source§impl Clone for WindowUpdate
impl Clone for WindowUpdate
source§fn clone(&self) -> WindowUpdate
fn clone(&self) -> WindowUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WindowUpdate
impl Debug for WindowUpdate
source§impl From<WindowUpdate> for Frame
impl From<WindowUpdate> for Frame
source§fn from(src: WindowUpdate) -> Self
fn from(src: WindowUpdate) -> Self
Converts to this type from the input type.
source§impl PartialEq<WindowUpdate> for WindowUpdate
impl PartialEq<WindowUpdate> for WindowUpdate
source§fn eq(&self, other: &WindowUpdate) -> bool
fn eq(&self, other: &WindowUpdate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.