pub enum LogSeverity {
Info = 0,
Warning = 1,
Error = 2,
}Expand description
Log severity levels used by osquery.
These map directly to osquery’s internal severity levels.
Variants§
Info = 0
Informational messages (severity 0)
Warning = 1
Warning messages (severity 1)
Error = 2
Error messages (severity 2)
Trait Implementations§
Source§impl Clone for LogSeverity
impl Clone for LogSeverity
Source§fn clone(&self) -> LogSeverity
fn clone(&self) -> LogSeverity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogSeverity
Source§impl Debug for LogSeverity
impl Debug for LogSeverity
Source§impl Display for LogSeverity
impl Display for LogSeverity
impl Eq for LogSeverity
Source§impl PartialEq for LogSeverity
impl PartialEq for LogSeverity
Source§fn eq(&self, other: &LogSeverity) -> bool
fn eq(&self, other: &LogSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogSeverity
Auto Trait Implementations§
impl Freeze for LogSeverity
impl RefUnwindSafe for LogSeverity
impl Send for LogSeverity
impl Sync for LogSeverity
impl Unpin for LogSeverity
impl UnsafeUnpin for LogSeverity
impl UnwindSafe for LogSeverity
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