Function stringprep::resourceprep

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

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

Nameprep is defined in RFC 3920, Appendix B.