Struct dnscache::Options [] [src]

pub struct Options {
    pub neg_ttl: u64,
    pub max_ttl: u32,
    pub min_ttl: u32,
}

TTL values in seconds Actual resource record TTL values are clamped between min_ttl and max_ttl

Fields

TTL in seconds for answer that returned no addresses

Limit TTL from above (in seconds)

Limit TTL from below (in seconds)

Trait Implementations

impl Debug for Options
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Options
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Options

impl Sync for Options