Function ldap3::ldap_unescape
source · pub fn ldap_unescape<'a, S: Into<Cow<'a, str>>>(val: S) -> Result<Cow<'a, str>>
Expand description
Unescape a string using LDAP filter escapes.
If a string contains \nn
hexadecimal escapes, return a string where those
escapes are turned back into characters they represent. The result must be
a valid UTF-8 string, otherwise an error is returned.