pub trait FormatEncoderDyn<V: ?Sized, E = Box<dyn Error>> {
// Required method
fn encode_dyn(&mut self, writer: &mut dyn Write, value: &V) -> Result<(), E>;
}Expand description
A trait object version of FormatEncoder for dynamic dispatch
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".