Skip to main content

Module encoding

Module encoding 

Source
Expand description

Utilities dealing with writing the bits of a template or data to the output and escaping special HTML characters.

Enums§

NeverError
Error type for String, impossible to instantiate. Rust optimizes Result<(), NeverError> to 0-size.

Traits§

Encoder
A trait that wraps around either a String or std::io::Write, providing UTF-8 safe writing boundaries and special HTML character escaping.