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§

source

fn into_name(self) -> ProtoResult<Name>

Convert this into Name

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoName for &String

source§

fn into_name(self) -> ProtoResult<Name>

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

source§

impl IntoName for String

source§

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

source§

fn into_name(self) -> ProtoResult<Name>

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

Implementors§

source§

impl<T> IntoName for T
where T: Into<Name>,