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