pub struct NetworkDnscacheExtended {Show 13 fields
pub cache_entry_limit: Option<i32>,
pub cluster_timeout: Option<i32>,
pub dns_timeout: Option<i32>,
pub eager_refresh: Option<i32>,
pub testping_delta: Option<i32>,
pub ttl_max_noerror: Option<i32>,
pub ttl_max_nxdomain: Option<i32>,
pub ttl_max_other: Option<i32>,
pub ttl_max_servfail: Option<i32>,
pub ttl_min_noerror: Option<i32>,
pub ttl_min_nxdomain: Option<i32>,
pub ttl_min_other: Option<i32>,
pub ttl_min_servfail: Option<i32>,
}
Fields§
§cache_entry_limit: Option<i32>
DNS cache entry limit
cluster_timeout: Option<i32>
Timeout value for calls made to other nodes in the cluster
dns_timeout: Option<i32>
Timeout value for calls made to the dns resolvers
eager_refresh: Option<i32>
Lead time to refresh cache entries nearing expiration
testping_delta: Option<i32>
Deltas for checking cbind cluster health
ttl_max_noerror: Option<i32>
Upper bound on ttl for cache hits
ttl_max_nxdomain: Option<i32>
Upper bound on ttl for nxdomain
ttl_max_other: Option<i32>
Upper bound on ttl for non-nxdomain failures
ttl_max_servfail: Option<i32>
Upper bound on ttl for server failures
ttl_min_noerror: Option<i32>
Lower bound on ttl for cache hits
ttl_min_nxdomain: Option<i32>
Lower bound on ttl for nxdomain
ttl_min_other: Option<i32>
Lower bound on ttl for non-nxdomain failures
ttl_min_servfail: Option<i32>
Lower bound on ttl for server failures
Trait Implementations§
Source§impl Debug for NetworkDnscacheExtended
impl Debug for NetworkDnscacheExtended
Source§impl<'de> Deserialize<'de> for NetworkDnscacheExtended
impl<'de> Deserialize<'de> for NetworkDnscacheExtended
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkDnscacheExtended
impl RefUnwindSafe for NetworkDnscacheExtended
impl Send for NetworkDnscacheExtended
impl Sync for NetworkDnscacheExtended
impl Unpin for NetworkDnscacheExtended
impl UnwindSafe for NetworkDnscacheExtended
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more