#[repr(u8)]pub enum AuditSeverity {
Info = 0,
Warning = 1,
Error = 2,
Critical = 3,
}Expand description
Severity level for an audit event.
Variants§
Info = 0
Informational, normal operation
Warning = 1
Warning, unusual but non-critical
Error = 2
Error, operation failed
Critical = 3
Critical, security-relevant failure
Implementations§
Source§impl AuditSeverity
impl AuditSeverity
Trait Implementations§
Source§impl Clone for AuditSeverity
impl Clone for AuditSeverity
Source§fn clone(&self) -> AuditSeverity
fn clone(&self) -> AuditSeverity
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditSeverity
impl Debug for AuditSeverity
Source§impl Hash for AuditSeverity
impl Hash for AuditSeverity
Source§impl Ord for AuditSeverity
impl Ord for AuditSeverity
Source§impl PartialEq for AuditSeverity
impl PartialEq for AuditSeverity
Source§impl PartialOrd for AuditSeverity
impl PartialOrd for AuditSeverity
Source§fn partial_cmp(&self, other: &AuditSeverity) -> Option<Ordering>
fn partial_cmp(&self, other: &AuditSeverity) -> Option<Ordering>
impl Copy for AuditSeverity
impl Eq for AuditSeverity
impl StructuralPartialEq for AuditSeverity
Auto Trait Implementations§
impl Freeze for AuditSeverity
impl RefUnwindSafe for AuditSeverity
impl Send for AuditSeverity
impl Sync for AuditSeverity
impl Unpin for AuditSeverity
impl UnwindSafe for AuditSeverity
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)