pub struct Idna { /* private fields */ }
Implementations
sourceimpl Idna
impl Idna
pub fn new(config: Config) -> Self
pub fn to_ascii_inner(&mut self, domain: &str, out: &mut String) -> Errors
sourcepub fn to_ascii<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
pub fn to_ascii<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
http://www.unicode.org/reports/tr46/#ToASCII
sourcepub fn to_unicode<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
pub fn to_unicode<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
http://www.unicode.org/reports/tr46/#ToUnicode
Trait Implementations
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more