Trait trust_dns_proto::rr::domain::TryParseIp
source · pub trait TryParseIp {
// Required method
fn try_parse_ip(&self) -> Option<RData>;
}
Expand description
Types of this trait will can be attempted for conversion to an IP address
Required Methods§
sourcefn try_parse_ip(&self) -> Option<RData>
fn try_parse_ip(&self) -> Option<RData>
Attempts to parse self into an RData::A or RData::AAAA, None is returned if not possible