Struct dnstap::ResolverResponse
[−]
[src]
pub struct ResolverResponse { pub identity: Option<Vec<u8>>, pub version: Option<Vec<u8>>, pub socket_protocol: SocketProtocol, pub query_time: Duration, pub response_address: IpAddr, pub response_port: u16, pub response_packet: Vec<u8>, pub response_time: Duration, pub bailiwick: String, }
Fields
identity: Option<Vec<u8>>
version: Option<Vec<u8>>
socket_protocol: SocketProtocol
query_time: Duration
response_address: IpAddr
response_port: u16
response_packet: Vec<u8>
response_time: Duration
bailiwick: String
Trait Implementations
impl Clone for ResolverResponse
[src]
fn clone(&self) -> ResolverResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for ResolverResponse
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Into<DNSMessage> for ResolverResponse
[src]
fn into(self) -> DNSMessage
Performs the conversion.