#[non_exhaustive]pub struct InterfaceEventOptions {
pub wlan: bool,
pub default_route: bool,
pub capacity: usize,
pub max_bytes: usize,
}Expand description
Sources and per-subscriber queue limits for interface diagnostics.
Construct with Default::default() and set the fields your application needs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wlan: boolCollect Windows WLAN connection and disconnection records.
default_route: boolObserve preferred IPv4 and IPv6 default-route interfaces independently.
capacity: usizeMaximum queued entries, including source status and route baselines.
max_bytes: usizeMaximum accounted bytes in the queue, including interface identifiers.
Trait Implementations§
Source§impl Clone for InterfaceEventOptions
impl Clone for InterfaceEventOptions
impl Copy for InterfaceEventOptions
Source§impl Debug for InterfaceEventOptions
impl Debug for InterfaceEventOptions
Auto Trait Implementations§
impl Forget for InterfaceEventOptions
impl Freeze for InterfaceEventOptions
impl Move for InterfaceEventOptions
impl RefUnwindSafe for InterfaceEventOptions
impl Send for InterfaceEventOptions
impl Sync for InterfaceEventOptions
impl Unpin for InterfaceEventOptions
impl UnsafeUnpin for InterfaceEventOptions
impl UnwindSafe for InterfaceEventOptions
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