[][src]Function mail_internals::bind::mime::percent_encode_param_value

pub fn percent_encode_param_value<'a, R: ?Sized>(
    input: &'a R
) -> Cow<'a, SoftAsciiStr> where
    R: AsRef<[u8]>, 

percent encodes a byte sequence so that it can be used in a RFC 2231 conform encoded mime header parameter