pub struct H2FlowControl {
pub window: i32,
pub received_bytes_since_update: u32,
pub pending_window_updates: HashMap<u32, u32>,
}Expand description
Connection-level flow control state (RFC 9113 §6.9).
Fields§
§window: i32Connection-level send window (can go negative per RFC 9113 §6.9.2).
received_bytes_since_update: u32Bytes received since last connection-level WINDOW_UPDATE.
pending_window_updates: HashMap<u32, u32>Queued stream_id -> accumulated increment for WINDOW_UPDATE frames (O(1) coalescing).
Auto Trait Implementations§
impl Freeze for H2FlowControl
impl RefUnwindSafe for H2FlowControl
impl Send for H2FlowControl
impl Sync for H2FlowControl
impl Unpin for H2FlowControl
impl UnsafeUnpin for H2FlowControl
impl UnwindSafe for H2FlowControl
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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