Struct embassy_net::dns::DnsSocket
source · pub struct DnsSocket<'a, D>where
D: Driver + 'static,{ /* private fields */ }
Expand description
DNS client compatible with the embedded-nal-async
traits.
This exists only for compatibility with crates that use embedded-nal-async
.
Prefer using Stack::dns_query
directly if you’re
not using embedded-nal-async
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for DnsSocket<'a, D>
impl<'a, D> !RefUnwindSafe for DnsSocket<'a, D>
impl<'a, D> !Send for DnsSocket<'a, D>
impl<'a, D> !Sync for DnsSocket<'a, D>
impl<'a, D> Unpin for DnsSocket<'a, D>
impl<'a, D> !UnwindSafe for DnsSocket<'a, D>
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