pub trait ResolveAddr {
type Error: Debug;
// Required method
fn resolve_addr(&mut self, addr: in_addr) -> Result<String, Self::Error>;
}
Expand description
Trait for resolving IP addresses
A type implementing this trait can resolve an IP address to a hostname.