Trait trust_dns_proto::rr::IntoName [−][src]
pub trait IntoName: Sized { fn into_name(self) -> ProtoResult<Name>; }
Conversion into a Name
Required Methods
fn into_name(self) -> ProtoResult<Name>
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) -> ProtoResult<Name>
[src]
fn into_name(self) -> ProtoResult<Name>
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) -> ProtoResult<Name>
[src]
fn into_name(self) -> ProtoResult<Name>
Performs a utf8, IDNA or punycode, translation of the String
into Name