Function stringprep::nodeprep

source ·
pub fn nodeprep(s: &str) -> Result<Cow<'_, str>, Error>
Expand description

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

Nameprep is defined in RFC 3920, Appendix A.