pub struct NetworkDnscacheSettings {Show 13 fields
pub cache_entry_limit: i32,
pub cluster_timeout: i32,
pub dns_timeout: i32,
pub eager_refresh: i32,
pub testping_delta: i32,
pub ttl_max_noerror: i32,
pub ttl_max_nxdomain: i32,
pub ttl_max_other: i32,
pub ttl_max_servfail: i32,
pub ttl_min_noerror: i32,
pub ttl_min_nxdomain: i32,
pub ttl_min_other: i32,
pub ttl_min_servfail: i32,
}Fields§
§cache_entry_limit: i32DNS cache entry limit
cluster_timeout: i32Timeout value for calls made to other nodes in the cluster
dns_timeout: i32Timeout value for calls made to the dns resolvers
eager_refresh: i32Lead time to refresh cache entries nearing expiration
testping_delta: i32Deltas for checking cbind cluster health
ttl_max_noerror: i32Upper bound on ttl for cache hits
ttl_max_nxdomain: i32Upper bound on ttl for nxdomain
ttl_max_other: i32Upper bound on ttl for non-nxdomain failures
ttl_max_servfail: i32Upper bound on ttl for server failures
ttl_min_noerror: i32Lower bound on ttl for cache hits
ttl_min_nxdomain: i32Lower bound on ttl for nxdomain
ttl_min_other: i32Lower bound on ttl for non-nxdomain failures
ttl_min_servfail: i32Lower bound on ttl for server failures
Trait Implementations§
Source§impl Debug for NetworkDnscacheSettings
impl Debug for NetworkDnscacheSettings
Source§impl<'de> Deserialize<'de> for NetworkDnscacheSettings
impl<'de> Deserialize<'de> for NetworkDnscacheSettings
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 NetworkDnscacheSettings
impl RefUnwindSafe for NetworkDnscacheSettings
impl Send for NetworkDnscacheSettings
impl Sync for NetworkDnscacheSettings
impl Unpin for NetworkDnscacheSettings
impl UnwindSafe for NetworkDnscacheSettings
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