Trait trust_dns_resolver::TryParseIp[][src]

pub trait TryParseIp {
    fn try_parse_ip(&self) -> Option<RData>;
}

Types of this trait will can be attempted for conversion to an IP address

Required Methods

Attempts to parse self into an RData::A or RData::AAAA, None is returned if not possible

Implementations on Foreign Types

impl<'a, T> TryParseIp for &'a T where
    T: TryParseIp + ?Sized
[src]

impl TryParseIp for str
[src]

Implementors