pub struct KmsgEntry {
pub sequence: u64,
pub timestamp_ns: u64,
pub level: u8,
pub text: String,
pub is_suspicious: bool,
}Expand description
A single kernel log record.
Fields§
§sequence: u64Sequence number.
timestamp_ns: u64Timestamp in nanoseconds.
level: u8Log level (low 3 bits of flags_level).
text: StringText content of the log record.
is_suspicious: boolTrue when the text contains known suspicious patterns.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KmsgEntry
impl RefUnwindSafe for KmsgEntry
impl Send for KmsgEntry
impl Sync for KmsgEntry
impl Unpin for KmsgEntry
impl UnsafeUnpin for KmsgEntry
impl UnwindSafe for KmsgEntry
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