#[non_exhaustive]pub enum LineKind {
Panic {
message: String,
},
Cpu {
cpu: u64,
uid: Option<u64>,
pid: u64,
details: String,
},
Symbol {
label: String,
segment: Option<String>,
frame: StackFrame,
},
Diagnostic {
label: String,
details: String,
},
Modules {
modules: Vec<String>,
last_unloaded: Option<String>,
continuation: bool,
},
Reboot {
delay: SignedDuration,
},
CallTrace,
Frame(StackFrame),
Registers(Vec<Register>),
Unknown,
}Expand description
Recognized architecture-independent records. Unrecognized records are kept.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Panic
A terminal kernel panic marker.
Cpu
CPU and task metadata, with the remaining kernel description retained.
Fields
Symbol
A named faulting symbol, such as RIP: 0010:function+0x1/0x20.
Fields
§
frame: StackFrameSymbol, offset, and size.
Diagnostic
A diagnostic or machine description with a known label.
Fields
Modules
Loaded modules, including a wrapped continuation line.
Fields
Reboot
An announced reboot delay.
Fields
§
delay: SignedDurationDelay before rebooting.
CallTrace
A call-trace section heading.
Frame(StackFrame)
A symbol with hexadecimal offset and size, optionally with an address.
Registers(Vec<Register>)
Register or page-table entry/value pairs without architecture restrictions.
Unknown
A line without a recognized structured interpretation.
Trait Implementations§
impl Eq for LineKind
impl StructuralPartialEq for LineKind
Auto Trait Implementations§
impl Freeze for LineKind
impl RefUnwindSafe for LineKind
impl Send for LineKind
impl Sync for LineKind
impl Unpin for LineKind
impl UnsafeUnpin for LineKind
impl UnwindSafe for LineKind
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