pub trait TagHandler: Send + Sync {
// Required methods
fn construct(&self, value: &str) -> Result<Value>;
fn represent(&self, value: &Value) -> Result<String>;
}Expand description
Trait for custom tag handlers
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".