Struct dnstap::ClientResponse
[−]
[src]
pub struct ClientResponse { pub identity: Option<Vec<u8>>, pub version: Option<Vec<u8>>, pub socket_family: SocketFamily, pub socket_protocol: SocketProtocol, pub response_time: Duration, pub response_packet: Vec<u8>, }
Fields
identity: Option<Vec<u8>>
version: Option<Vec<u8>>
socket_family: SocketFamily
socket_protocol: SocketProtocol
response_time: Duration
response_packet: Vec<u8>
Trait Implementations
impl Clone for ClientResponse
[src]
fn clone(&self) -> ClientResponse
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 ClientResponse
[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 ClientResponse
[src]
fn into(self) -> DNSMessage
Performs the conversion.