Trait Severity

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

    // Provided methods
    fn is_recoverable_error(&self) -> bool { ... }
    fn is_unrecoverable_error(&self) -> bool { ... }
    fn is_warning(&self) -> bool { ... }
}

Required Methods§

Provided Methods§

Source

fn is_recoverable_error(&self) -> bool

Returns true if the severity level is RecoverableError.

Source

fn is_unrecoverable_error(&self) -> bool

Returns true if the severity level is UnrecoverableError.

Source

fn is_warning(&self) -> bool

Returns true if the severity level is Warning.

Implementations on Foreign Types§

Source§

impl Severity for CssError

Implementors§