#[repr(u32)]pub enum LogReason {
LOG_REASON_UNKNOWN = 0,
LOG_REASON_ALLOW = 1,
LOG_REASON_AUDIT = 2,
LOG_REASON_DENY = 3,
LOG_REASON_DEBUG = 4,
LOG_REASON_ERROR = 5,
}Expand description
Standard reasons as to why a log is being output.
This is separate from log level and gives additional context that a program can choose depending on what action is being performed.
Variants§
LOG_REASON_UNKNOWN = 0
LOG_REASON_ALLOW = 1
LOG_REASON_AUDIT = 2
LOG_REASON_DENY = 3
LOG_REASON_DEBUG = 4
LOG_REASON_ERROR = 5
Implementations§
Trait Implementations§
impl Copy for LogReason
impl Eq for LogReason
impl StructuralPartialEq for LogReason
Auto Trait Implementations§
impl Freeze for LogReason
impl RefUnwindSafe for LogReason
impl Send for LogReason
impl Sync for LogReason
impl Unpin for LogReason
impl UnwindSafe for LogReason
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