Trait trust_dns_proto::rr::domain::IntoName
source · pub trait IntoName: Sized {
// Required method
fn into_name(self) -> ProtoResult<Name>;
}
Expand description
Conversion into a Name
Required Methods§
sourcefn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Convert this into Name
Implementations on Foreign Types§
source§impl IntoName for String
impl IntoName for String
source§fn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the String
into Name
source§impl IntoName for &String
impl IntoName for &String
source§fn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the &String
into Name
source§impl<'a> IntoName for &'a str
impl<'a> IntoName for &'a str
source§fn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the str
into Name