[−][src]Function escape8259::escape
pub fn escape(s: &str) -> String
Escape a string, following RFC8259 rules.
Only characters that require escaping will be escaped:
quotation mark ?
,
reverse solidus \
(backslash),
and the control characters (0x00-1F).