[][src]Function ldap3::ldap_str_unescape

pub fn ldap_str_unescape<'a, S: Into<Cow<'a, str>>>(
    val: S
) -> Result<Cow<'a, str>>

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.