pub trait Encoding {
// Required methods
fn stage_by_prefix(&self, prefix: u8) -> Option<&Stage>;
fn stage_by_value(&self, value: i64) -> Option<&Stage>;
}Expand description
An implementation of Encoding is responsible for providing a Stage
for the provided value or prefix.