pub struct SystemResolver;Expand description
The system resolver: an IP literal in place, everything else through
getaddrinfo.
What it answers is A and AAAA records, so the whole set shares one port —
the one the URL wrote, or DEFAULT_PORT when it wrote none. That covers
a literal, a plain name and a Kubernetes headless Service, whose A/AAAA
answer is the set of Pod addresses. It cannot express a port-forwarding
load balancer; Resolver is how that deployment brings its own answer.
Trait Implementations§
Source§impl Clone for SystemResolver
impl Clone for SystemResolver
impl Copy for SystemResolver
Source§impl Debug for SystemResolver
impl Debug for SystemResolver
Source§impl Default for SystemResolver
impl Default for SystemResolver
Auto Trait Implementations§
impl Freeze for SystemResolver
impl RefUnwindSafe for SystemResolver
impl Send for SystemResolver
impl Sync for SystemResolver
impl Unpin for SystemResolver
impl UnsafeUnpin for SystemResolver
impl UnwindSafe for SystemResolver
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