Trait trust_dns_resolver::IntoName
source · [−]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>
fn into_name(self) -> Result<Name, ProtoError>
Convert this into Name
Implementations on Foreign Types
sourceimpl<'a> IntoName for &'a str
impl<'a> IntoName for &'a str
sourcefn into_name(self) -> Result<Name, ProtoError>
fn into_name(self) -> Result<Name, ProtoError>
Performs a utf8, IDNA or punycode, translation of the str
into Name
sourceimpl<'_> IntoName for &'_ String
impl<'_> IntoName for &'_ String
sourcefn into_name(self) -> Result<Name, ProtoError>
fn into_name(self) -> Result<Name, ProtoError>
Performs a utf8, IDNA or punycode, translation of the &String
into Name
sourceimpl IntoName for String
impl IntoName for String
sourcefn into_name(self) -> Result<Name, ProtoError>
fn into_name(self) -> Result<Name, ProtoError>
Performs a utf8, IDNA or punycode, translation of the String
into Name