Function stringprep::nodeprep [] [src]

pub fn nodeprep<'a>(s: &'a str) -> Result<Cow<'a, str>, Error>

Prepares a string with the Nodeprep profile of the stringprep algorithm.

Nameprep is defined in RFC 3920, Appendix A.