pub struct StreamLimits {
pub connect_budget: usize,
pub connect_budget_window: Duration,
pub max_frame_bytes: usize,
pub dedupe_window: usize,
}Expand description
The stream’s sizes and counts.
Fields§
§connect_budget: usizeConnects one client may start in one connect_budget_window.
connect_budget_window: DurationThe rolling window of connect_budget.
max_frame_bytes: usizeLargest frame accepted, in bytes.
dedupe_window: usizeEvent ids remembered to drop a replay’s repeats.
Trait Implementations§
Source§impl Clone for StreamLimits
impl Clone for StreamLimits
Source§impl Debug for StreamLimits
impl Debug for StreamLimits
impl Eq for StreamLimits
Source§impl PartialEq for StreamLimits
impl PartialEq for StreamLimits
impl StructuralPartialEq for StreamLimits
Auto Trait Implementations§
impl Freeze for StreamLimits
impl RefUnwindSafe for StreamLimits
impl Send for StreamLimits
impl Sync for StreamLimits
impl Unpin for StreamLimits
impl UnsafeUnpin for StreamLimits
impl UnwindSafe for StreamLimits
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.