pub struct QueueFilterConfig {
pub enabled: bool,
pub max_queue_depth: usize,
pub backpressure_enabled: bool,
pub priority_eviction_enabled: bool,
pub max_total_frames: usize,
}Expand description
QueueFilter configuration.
Fields§
§enabled: boolWhether the QueueFilter is enabled.
max_queue_depth: usizeMaximum queue depth per priority level per channel.
backpressure_enabled: boolWhether to enable WaitingForAck backpressure. When true, frames are queued when the connection is WaitingForAck.
priority_eviction_enabled: boolWhether to evict lower-priority frames when queue is full. When false, new frames are dropped if queue is full.
max_total_frames: usizeMaximum total frames across all channels and priorities. 0 = unlimited (bounded only by per-channel limits).
Implementations§
Trait Implementations§
Source§impl Clone for QueueFilterConfig
impl Clone for QueueFilterConfig
Source§fn clone(&self) -> QueueFilterConfig
fn clone(&self) -> QueueFilterConfig
Returns a duplicate 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 QueueFilterConfig
impl Debug for QueueFilterConfig
Source§impl Default for QueueFilterConfig
impl Default for QueueFilterConfig
Source§impl<'de> Deserialize<'de> for QueueFilterConfig
impl<'de> Deserialize<'de> for QueueFilterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueueFilterConfig
impl RefUnwindSafe for QueueFilterConfig
impl Send for QueueFilterConfig
impl Sync for QueueFilterConfig
impl Unpin for QueueFilterConfig
impl UnsafeUnpin for QueueFilterConfig
impl UnwindSafe for QueueFilterConfig
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