Struct idna::Idna[][src]

pub struct Idna { /* fields omitted */ }

Implementations

impl Idna[src]

pub fn new(config: Config) -> Self[src]

pub fn to_ascii<'a>(
    &'a mut self,
    domain: &str,
    out: &mut String
) -> Result<(), Errors>
[src]

http://www.unicode.org/reports/tr46/#ToASCII

pub fn to_unicode<'a>(
    &'a mut self,
    domain: &str,
    out: &mut String
) -> Result<(), Errors>
[src]

http://www.unicode.org/reports/tr46/#ToUnicode

Trait Implementations

impl Default for Idna[src]

Auto Trait Implementations

impl RefUnwindSafe for Idna

impl Send for Idna

impl Sync for Idna

impl Unpin for Idna

impl UnwindSafe for Idna

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.