pub trait Encoder: 'static { const TABLE: &'static Table; }
A trait used by EStr and EString to specify the table used for encoding.
EStr
EString
A sub-encoder SubE of E is an encoder such that SubE::TABLE is a subset of E::TABLE.
SubE
E
SubE::TABLE
E::TABLE
The table used for encoding.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".