pub struct DnsClient { /* private fields */ }Expand description
DNS client for querying overlay DNS servers
Implementations§
Source§impl DnsClient
impl DnsClient
Sourcepub fn new(server_addr: SocketAddr) -> Self
pub fn new(server_addr: SocketAddr) -> Self
Create a new DNS client
Auto Trait Implementations§
impl Freeze for DnsClient
impl RefUnwindSafe for DnsClient
impl Send for DnsClient
impl Sync for DnsClient
impl Unpin for DnsClient
impl UnsafeUnpin for DnsClient
impl UnwindSafe for DnsClient
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