Struct ntex_h2::frame::WindowUpdate
source · [−]pub struct WindowUpdate { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for WindowUpdate
impl Clone for WindowUpdate
sourcefn clone(&self) -> WindowUpdate
fn clone(&self) -> WindowUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WindowUpdate
impl Debug for WindowUpdate
sourceimpl From<WindowUpdate> for Frame
impl From<WindowUpdate> for Frame
sourcefn from(src: WindowUpdate) -> Self
fn from(src: WindowUpdate) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WindowUpdate> for WindowUpdate
impl PartialEq<WindowUpdate> for WindowUpdate
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &WindowUpdate) -> bool
fn ne(&self, other: &WindowUpdate) -> bool
This method tests for !=.
impl Copy for WindowUpdate
impl Eq for WindowUpdate
impl StructuralEq for WindowUpdate
impl StructuralPartialEq for WindowUpdate
Auto Trait Implementations
impl RefUnwindSafe for WindowUpdate
impl Send for WindowUpdate
impl Sync for WindowUpdate
impl Unpin for WindowUpdate
impl UnwindSafe for WindowUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more