pub struct PvaStateConfig {
pub max_channels: usize,
pub channel_ttl: Duration,
pub max_operations: usize,
pub max_update_rate: usize,
}Expand description
Configuration for the PVA state tracker
Fields§
§max_channels: usizeMaximum number of channels to track (default: 40000)
channel_ttl: DurationTime-to-live for channel entries (default: 5 minutes)
max_operations: usizeMaximum number of operations to track per connection
max_update_rate: usizeMaximum update timestamps kept per connection for rate calculation (default: 10000)
Implementations§
Trait Implementations§
Source§impl Clone for PvaStateConfig
impl Clone for PvaStateConfig
Source§fn clone(&self) -> PvaStateConfig
fn clone(&self) -> PvaStateConfig
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 PvaStateConfig
impl Debug for PvaStateConfig
Auto Trait Implementations§
impl Freeze for PvaStateConfig
impl RefUnwindSafe for PvaStateConfig
impl Send for PvaStateConfig
impl Sync for PvaStateConfig
impl Unpin for PvaStateConfig
impl UnsafeUnpin for PvaStateConfig
impl UnwindSafe for PvaStateConfig
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