#[repr(u32)]pub enum TidyReportLevel {
Info = 350,
Warning = 351,
Config = 352,
Access = 353,
Error = 354,
BadDocument = 355,
Fatal = 356,
DialogueSummary = 357,
DialogueInfo = 358,
DialogueFootnote = 359,
}
Expand description
Message severity level, used throughout LibTidy to indicate the severity or status of a message
@remark These enum members all have associated localized strings available via their enum values. These strings are suitable for use as labels.
Variants§
Info = 350
< Report: Information about markup usage
Warning = 351
< Report: Warning message
Config = 352
< Report: Configuration error
Access = 353
< Report: Accessibility message
Error = 354
< Report: Error message - output suppressed
BadDocument = 355
< Report: I/O or file system error
Fatal = 356
< Report: Crash!
DialogueSummary = 357
< Dialogue: Summary-related information
DialogueInfo = 358
< Dialogue: Non-document related information
DialogueFootnote = 359
< Dialogue: Footnote
Implementations§
Source§impl TidyReportLevel
impl TidyReportLevel
pub const DialogueDoc: TidyReportLevel = TidyReportLevel::DialogueFootnote
Trait Implementations§
Source§impl Clone for TidyReportLevel
impl Clone for TidyReportLevel
Source§fn clone(&self) -> TidyReportLevel
fn clone(&self) -> TidyReportLevel
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 TidyReportLevel
impl Debug for TidyReportLevel
Source§impl Hash for TidyReportLevel
impl Hash for TidyReportLevel
Source§impl PartialEq for TidyReportLevel
impl PartialEq for TidyReportLevel
impl Copy for TidyReportLevel
impl Eq for TidyReportLevel
impl StructuralPartialEq for TidyReportLevel
Auto Trait Implementations§
impl Freeze for TidyReportLevel
impl RefUnwindSafe for TidyReportLevel
impl Send for TidyReportLevel
impl Sync for TidyReportLevel
impl Unpin for TidyReportLevel
impl UnwindSafe for TidyReportLevel
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