pub trait CompilationEvent:
Sync
+ Send
+ Any {
// Required methods
fn type_name(&self) -> &'static str;
fn severity(&self) -> Severity;
fn message(&self) -> String;
fn to_json(&self) -> String;
}Required Methods§
fn type_name(&self) -> &'static str
fn severity(&self) -> Severity
fn message(&self) -> String
fn to_json(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".