pub struct Details { /* private fields */ }Available on crate feature
dns-resolver only.Expand description
Details produced from a DNS resolution.
Implementations§
Source§impl Details
impl Details
Sourcepub fn server(&self) -> SocketAddr
pub fn server(&self) -> SocketAddr
DNS server used in the resolution of our IP address.
Sourcepub fn query_method(&self) -> QueryMethod
pub fn query_method(&self) -> QueryMethod
The query method used in the resolution of our IP address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Details
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnwindSafe for Details
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more