pub struct QueueConfig {
pub warn_depth: u32,
pub max_depth: u32,
pub emergency_depth: u32,
pub drop_policy: QueueDropPolicy,
}Expand description
Configuration for frame queue depth limits.
Fields§
§warn_depth: u32Maximum pending frames before warning. Default: 3.
max_depth: u32Maximum pending frames before critical action. Default: 8.
emergency_depth: u32Emergency depth — drop all but latest. Default: 16.
drop_policy: QueueDropPolicyWhat to do when max_depth is reached.
Implementations§
Trait Implementations§
Source§impl Clone for QueueConfig
impl Clone for QueueConfig
Source§fn clone(&self) -> QueueConfig
fn clone(&self) -> QueueConfig
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 QueueConfig
impl Debug for QueueConfig
Source§impl Default for QueueConfig
impl Default for QueueConfig
Source§impl PartialEq for QueueConfig
impl PartialEq for QueueConfig
impl Copy for QueueConfig
impl Eq for QueueConfig
impl StructuralPartialEq for QueueConfig
Auto Trait Implementations§
impl Freeze for QueueConfig
impl RefUnwindSafe for QueueConfig
impl Send for QueueConfig
impl Sync for QueueConfig
impl Unpin for QueueConfig
impl UnwindSafe for QueueConfig
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