Function stringprep::saslprep [] [src]

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

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

SASLprep is defined in RFC 4013.