Structs§
- Control
Char Error - An error indicating that a control character was found in a string when constructing
a [
SafeString]. - DotChar
Error - An error indicating that an unsafe DOT character was found in a string when constructing
a
DotSafe. - DotSafe
- A safe string type that prevents Graphviz DOT injection attacks.
- Term
Safe - A safe string type that prevents terminal control injection attacks.
Functions§
- contains_
control_ characters - Returns
trueifscontains any control characters. - contains_
dot_ unsafe_ characters - Returns
trueifscontains any characters unsafe for Graphviz DOT format. - is_
control_ character - Returns
trueifcis a control character that could affect terminal state. - is_
dot_ unsafe_ character - Returns
trueifcis unsafe inside a Graphviz DOT string literal.