pub enum Dns {
Dns {
dns_server: String,
client: Mutex<MemoizeClientHandle<AsyncClient>>,
},
DnsSec {
dns_server: String,
client: Mutex<DnssecDnsHandle<MemoizeClientHandle<AsyncClient>>>,
},
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DnsClient
impl !RefUnwindSafe for DnsClient
impl Send for DnsClient
impl Sync for DnsClient
impl Unpin 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