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 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogSeverity
impl Debug for LogSeverity
Source§impl Display for LogSeverity
impl Display for LogSeverity
Source§impl PartialEq for LogSeverity
impl PartialEq for LogSeverity
Source§impl TryFrom<i64> for LogSeverity
impl TryFrom<i64> for LogSeverity
impl Copy for LogSeverity
impl Eq for LogSeverity
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 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