pub enum ReportKind {
Trace,
Blame,
Alert,
Error,
Fatal,
}
Expand description
@trace 0 @print 100 @blame 150 @risky 175 @alert 200 @error 250 @fatal 255 A type that defines the kind of report being produced.
Variants§
Trace
The report is advice to the user about a potential anti-pattern of other benign issues.
Blame
The report is advice to the user about a potential anti-pattern of other benign issues.
Alert
The report is a warning and indicates a likely problem, but not to the extent that the requested action cannot be performed.
Error
The report is an error and indicates a critical problem that prevents the program performing the requested action.
Fatal
Fatal error that caused this program to terminate
Trait Implementations§
Source§impl Clone for ReportKind
impl Clone for ReportKind
Source§fn clone(&self) -> ReportKind
fn clone(&self) -> ReportKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReportKind
impl Debug for ReportKind
Source§impl PartialEq for ReportKind
impl PartialEq for ReportKind
Source§impl ReportLevel for ReportKind
impl ReportLevel for ReportKind
impl Copy for ReportKind
impl Eq for ReportKind
impl StructuralPartialEq for ReportKind
Auto Trait Implementations§
impl Freeze for ReportKind
impl RefUnwindSafe for ReportKind
impl Send for ReportKind
impl Sync for ReportKind
impl Unpin for ReportKind
impl UnwindSafe for ReportKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more