Trait trust_dns_proto::rr::IntoName
source · pub trait IntoName: Sized {
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
sourceimpl<'a> IntoName for &'a str
impl<'a> IntoName for &'a str
sourcefn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the str
into Name
sourceimpl IntoName for String
impl IntoName for String
sourcefn into_name(self) -> ProtoResult<Name>
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the String
into Name