[−][src]Trait trust_dns_resolver::TryParseIp
Types of this trait will can be attempted for conversion to an IP address
Required methods
fn try_parse_ip(&self) -> Option<RData>
Attempts to parse self into an RData::A or RData::AAAA, None is returned if not possible
Implementations on Foreign Types
impl TryParseIp for str
[src]
impl TryParseIp for str
fn try_parse_ip(&self) -> Option<RData> | [src] |
impl<'a, T> TryParseIp for &'a T where
T: TryParseIp + ?Sized,
[src]
impl<'a, T> TryParseIp for &'a T where
T: TryParseIp + ?Sized,
fn try_parse_ip(&self) -> Option<RData> | [src] |
Implementors
impl TryParseIp for Name
[src]
impl TryParseIp for Name
fn try_parse_ip(&self) -> Option<RData> | [src] |
Always returns none for Name, it assumes something that is already a name, wants to be a name