pub trait WarningSink: Send + Sync {
// Required method
fn warn(&self, w: Warning);
}Expand description
Receives structured warnings that should not be printed by domain crates.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".