pub(super) trait RuleViolation: Send + Sync {
// Required method
fn render(&self, format: ViolationOutputFormat) -> String;
}Expand description
Object-safe violation interface used after the dispatcher erases types.
Required Methods§
fn render(&self, format: ViolationOutputFormat) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".