pub trait FormatDecoderDyn<V, E = Box<dyn Error>> {
// Required method
fn decode_dyn(&mut self, reader: &mut dyn Read) -> Result<V, E>;
}Expand description
A trait object version of FormatDecoder for dynamic dispatch
Required Methods§
Sourcefn decode_dyn(&mut self, reader: &mut dyn Read) -> Result<V, E>
fn decode_dyn(&mut self, reader: &mut dyn Read) -> Result<V, E>
Decodes a value from the provided reader