Trait trust_dns_resolver::IntoName [−][src]
pub trait IntoName { fn into_name(self) -> Result<Name, ProtoError>; }
Expand description
Conversion into a Name
Required methods
fn into_name(self) -> Result<Name, ProtoError>
[src]
Expand description
Convert this into Name
Implementations on Foreign Types
impl IntoName for String
[src]
impl IntoName for String
[src]pub fn into_name(self) -> Result<Name, ProtoError>
[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]
impl<'a> IntoName for &'a str
[src]pub fn into_name(self) -> Result<Name, ProtoError>
[src]
pub fn into_name(self) -> Result<Name, ProtoError>
[src]Performs a utf8, IDNA or punycode, translation of the str
into Name
Implementors
Loading content...