Skip to main content

SeverityExt

Trait SeverityExt 

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

    // Provided method
    fn raw_severity(&self) -> u8 { ... }
}
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) -> u8

Return the raw severity of this value.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SeverityExt for Metadata<'_>

Implementors§