Struct dnscache::CacheEntry2 [] [src]

pub struct CacheEntry2 {
    pub t: Time,
    pub a: Vec<AddrTtl>,
}

Result of resolution of A or AAAA entries of some domain

Fields

Answer time, UNIX timestamp, seconds

Answer result

Trait Implementations

impl Debug for CacheEntry2
[src]

[src]

Formats the value using the given formatter.

impl Eq for CacheEntry2
[src]

impl PartialEq for CacheEntry2
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for CacheEntry2
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for CacheEntry2
[src]

[src]

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