Enum xswag_base::diag::ReportKind [] [src]

pub enum ReportKind {
    Error,
    Warning,
}

A report can either be an Error or a Warning. Still pretty similar to RemarkType -- may be merged with it in the future.

Variants

Error

Something went very wrong and will stop further processing

Warning

Something important should be fixed, but doesn't stop processing

Trait Implementations

Derived Implementations

impl Debug for ReportKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for ReportKind

impl PartialEq for ReportKind

fn eq(&self, __arg_0: &ReportKind) -> bool

fn ne(&self, __arg_0: &ReportKind) -> bool

impl Copy for ReportKind

impl Clone for ReportKind

fn clone(&self) -> ReportKind

fn clone_from(&mut self, source: &Self)