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
t: Time
Answer time, UNIX timestamp, seconds
a: Vec<AddrTtl>
Answer result
Trait Implementations
impl Debug for CacheEntry2
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for CacheEntry2
[src]
impl PartialEq for CacheEntry2
[src]
fn eq(&self, __arg_0: &CacheEntry2) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CacheEntry2) -> bool
[src]
This method tests for !=
.
impl Hash for CacheEntry2
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for CacheEntry2
[src]
fn default() -> CacheEntry2
[src]
Returns the "default value" for a type. Read more