Struct cdns_rs::sync::query::QDnsQuery [−][src]
pub struct QDnsQuery { /* fields omitted */ }
Expand description
A structure which describes the query properties and contains the results.
Implementations
Clones the responses which contains non empty successfull responses from DNS server.
Creates references to responses which contains non empty successfull responses from DNS server.
Constructs instance like it is from ‘local’ source but not from DNS server.
pub fn from_response(
server: &SocketAddr,
ans: DnsRequestAnswer,
now: Option<&Instant>
) -> CDnsResult<Self>
pub fn from_response(
server: &SocketAddr,
ans: DnsRequestAnswer,
now: Option<&Instant>
) -> CDnsResult<Self>
Constructs an instance from the remote response.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QDnsQuery
impl UnwindSafe for QDnsQuery
Blanket Implementations
Mutably borrows from an owned value. Read more