Struct dnstap::ResolverQuery
[−]
[src]
pub struct ResolverQuery {
pub identity: Option<Vec<u8>>,
pub version: Option<Vec<u8>>,
pub socket_protocol: SocketProtocol,
pub query_time: Duration,
pub query_packet: Vec<u8>,
pub response_address: IpAddr,
pub response_port: u16,
pub bailiwick: String,
}Fields
identity: Option<Vec<u8>>
version: Option<Vec<u8>>
socket_protocol: SocketProtocol
query_time: Duration
query_packet: Vec<u8>
response_address: IpAddr
response_port: u16
bailiwick: String
Trait Implementations
impl Clone for ResolverQuery[src]
fn clone(&self) -> ResolverQuery
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 ResolverQuery[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: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Into<DNSMessage> for ResolverQuery[src]
fn into(self) -> DNSMessage
Performs the conversion.