pub trait Decoder { type Output; // Required method fn run(&self, value: Value) -> Result<Self::Output>; }
Some logic that turns a Value into some Output.
Value
Output
The output of the Decoder.
Decoder
Runs the Decoder.