Trait trust_dns_proto::rr::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
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]
fn try_parse_ip(&self) -> Option<RData>
impl<'a, T: ?Sized> TryParseIp for &'a T where
T: TryParseIp,
[src]
impl<'a, T: ?Sized> TryParseIp for &'a T where
T: TryParseIp,
fn try_parse_ip(&self) -> Option<RData>
[src]
fn try_parse_ip(&self) -> Option<RData>
Implementors
impl TryParseIp for Name