Trait trust_dns_resolver::IntoName [−][src]
pub trait IntoName { pub fn into_name(self) -> Result<Name, ProtoError>; }
Conversion into a Name
Required methods
pub fn into_name(self) -> Result<Name, ProtoError>
[src]
Convert this into Name
Implementations on Foreign Types
impl IntoName for String
[src]
pub fn into_name(self) -> Result<Name, ProtoError>
[src]
Performs a utf8, IDNA or punycode, translation of the String
into Name
impl<'a> IntoName for &'a str
[src]
pub fn into_name(self) -> Result<Name, ProtoError>
[src]
Performs a utf8, IDNA or punycode, translation of the str
into Name
Implementors
impl<T> IntoName for T where
T: Into<Name>,
[src]
T: Into<Name>,