Trait JsonWritable
pub trait JsonWritable {
// Required method
fn write_json(self, output: &mut Vec<u8>) -> Result<(), JsonError>;
}Expand description
A value that can be written as JSON replacement bytes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".