diagnostics_log

Trait SeverityExt

Source
pub trait SeverityExt {
    // Required method
    fn severity(&self) -> Severity;

    // Provided method
    fn raw_severity(&self) -> RawSeverity { ... }
}
Expand description

A type which has a Severity.

Required Methods§

Source

fn severity(&self) -> Severity

Return the severity of this value.

Provided Methods§

Source

fn raw_severity(&self) -> RawSeverity

Return the raw severity of this value.

Implementations on Foreign Types§

Source§

impl SeverityExt for Metadata<'_>

Source§

impl SeverityExt for Metadata<'_>

Implementors§