Skip to main content

ESCAPES

Constant ESCAPES 

Source
const ESCAPES: &[(char, char)];
Expand description

The single source of truth for NATS reserved characters and their escape codes, as (literal, escape-code) pairs. Escaping looks a character up by its literal; unescaping looks it up by its code.

The ESCAPE_CHAR itself must be escaped so escapes are unambiguous.