[][src]Trait trust_dns_resolver::IntoName

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

Loading content...

Implementations on Foreign Types

impl<'a> IntoName for &'a str
[src]

fn into_name(self) -> Result<Name, ProtoError>
[src]

Performs a utf8, IDNA or punycode, translation of the str into Name

impl IntoName for String
[src]

fn into_name(self) -> Result<Name, ProtoError>
[src]

Performs a utf8, IDNA or punycode, translation of the String into Name

Loading content...

Implementors

impl IntoName for Name
[src]

impl<'a> IntoName for &'a Name
[src]

fn into_name(self) -> Result<Name, ProtoError>
[src]

Clones this into a new Name

Loading content...