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 for WindowUpdate
impl PartialEq for WindowUpdate
impl Copy for WindowUpdate
impl Eq for WindowUpdate
impl StructuralPartialEq for WindowUpdate
Auto Trait Implementations§
impl Freeze for WindowUpdate
impl RefUnwindSafe for WindowUpdate
impl Send for WindowUpdate
impl Sync for WindowUpdate
impl Unpin for WindowUpdate
impl UnwindSafe for WindowUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)