pub struct DnsConfig {
pub query_timeout: Duration,
pub max_pending: usize,
}Available on crate feature
dns only.Expand description
Tunables for the DNS observer.
Fields§
§query_timeout: DurationHow long to wait for a response before flagging as unanswered. Default: 30 s.
max_pending: usizeCap on pending queries in the correlator. Beyond this, oldest pending entries are dropped. Default: 10 000.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnsConfig
impl RefUnwindSafe for DnsConfig
impl Send for DnsConfig
impl Sync for DnsConfig
impl Unpin for DnsConfig
impl UnsafeUnpin for DnsConfig
impl UnwindSafe for DnsConfig
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