Trait trust_dns_proto::rr::IntoName [] [src]

pub trait IntoName: Sized {
    fn into_name(self) -> ProtoResult<Name>;
}

Conversion into a Name

Required Methods

Convert this into Name

Implementations on Foreign Types

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

[src]

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

impl IntoName for String
[src]

[src]

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

Implementors