pub struct Budgets {
pub window_ms: u64,
pub rst_received: u32,
pub rst_sent: u32,
pub ping: u32,
pub settings: u32,
pub empty_frames: u32,
pub priority: u32,
pub small_window_updates: u32,
}Expand description
Limits per window. u32::MAX disables a budget.
Fields§
§window_ms: u64Window length in milliseconds.
rst_received: u32RST_STREAM frames received (Rapid Reset, CVE-2023-44487; reset flood, CVE-2019-9514).
rst_sent: u32RST_STREAM frames the peer made us send: protocol errors on streams and refused streams (MadeYouReset, CVE-2025-8671; CVE-2019-9514). Resets the application asks for do not count.
ping: u32PING frames received (ping flood, CVE-2019-9512).
settings: u32SETTINGS frames received (settings flood, CVE-2019-9515).
empty_frames: u32Empty DATA, HEADERS and CONTINUATION frames without END_STREAM or END_HEADERS (empty frames flood, CVE-2019-9518).
priority: u32PRIORITY frames received (resource loop, CVE-2019-9513).
small_window_updates: u32WINDOW_UPDATE frames with an increment under 1024 bytes (data dribble, CVE-2019-9511).
Trait Implementations§
impl Copy for Budgets
impl Eq for Budgets
impl StructuralPartialEq for Budgets
Auto Trait Implementations§
impl Forget for Budgets
impl Freeze for Budgets
impl Move for Budgets
impl RefUnwindSafe for Budgets
impl Send for Budgets
impl Sync for Budgets
impl Unpin for Budgets
impl UnsafeUnpin for Budgets
impl UnwindSafe for Budgets
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