pub struct FirewallDetectionConfig {
pub event_wait_timeout: Duration,
pub enable_caching: bool,
pub max_cached_devices: usize,
}Expand description
Configuration for firewall detection behavior.
Fields§
§event_wait_timeout: DurationTimeout for waiting for first event from a device
enable_caching: boolEnable per-device caching of firewall status
max_cached_devices: usizeMaximum number of cached device states
Trait Implementations§
Source§impl Clone for FirewallDetectionConfig
impl Clone for FirewallDetectionConfig
Source§fn clone(&self) -> FirewallDetectionConfig
fn clone(&self) -> FirewallDetectionConfig
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 FirewallDetectionConfig
impl Debug for FirewallDetectionConfig
Auto Trait Implementations§
impl Freeze for FirewallDetectionConfig
impl RefUnwindSafe for FirewallDetectionConfig
impl Send for FirewallDetectionConfig
impl Sync for FirewallDetectionConfig
impl Unpin for FirewallDetectionConfig
impl UnsafeUnpin for FirewallDetectionConfig
impl UnwindSafe for FirewallDetectionConfig
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