Trait CompilationEvent

Source
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§

Source

fn type_name(&self) -> &'static str

Source

fn severity(&self) -> Severity

Source

fn message(&self) -> String

Source

fn to_json(&self) -> String

Implementors§