Trait mhost::resources::NameToIpAddr
source · pub trait NameToIpAddr {
// Required method
fn to_ip_addr(&self) -> Result<IpAddr>;
// Provided method
fn to_ip_addr_string(&self) -> String { ... }
}
pub trait NameToIpAddr {
// Required method
fn to_ip_addr(&self) -> Result<IpAddr>;
// Provided method
fn to_ip_addr_string(&self) -> String { ... }
}