pub enum Resolved {
One(IpAddr),
Many(Vec<IpAddr>),
NodeIds(Vec<NodeId>),
}Expand description
The result of a successful resolution of a Resolver.
Variants§
One(IpAddr)
The given name has been resolved to a single IpAddr.
Many(Vec<IpAddr>)
The given name has been resolved to multiple IpAddrs.
NodeIds(Vec<NodeId>)
The given name has been resolved to a new list of NodeIds
obtained from DNS TXT records representing possible alternatives.
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnwindSafe for Resolved
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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