pub enum DebugEventType {
OutOfBounds {
address: u64,
size: usize,
},
NanDetected {
register: String,
value: f64,
},
InfDetected {
register: String,
},
RaceCondition {
address: u64,
},
Assertion {
condition: String,
file: String,
line: u32,
},
Printf {
format: String,
},
Breakpoint {
id: u32,
},
}Expand description
The kind of debug event captured during kernel execution.
Variants§
OutOfBounds
A memory access was out of the allocated bounds.
NanDetected
A NaN was detected in a floating-point register.
Fields
InfDetected
An infinity was detected in a floating-point register.
RaceCondition
A potential race condition on a shared memory address.
Assertion
A kernel-side assertion.
Fields
Printf
A kernel-side printf invocation.
Breakpoint
A breakpoint was hit.
Trait Implementations§
Source§impl Clone for DebugEventType
impl Clone for DebugEventType
Source§fn clone(&self) -> DebugEventType
fn clone(&self) -> DebugEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugEventType
impl Debug for DebugEventType
Source§impl PartialEq for DebugEventType
impl PartialEq for DebugEventType
impl StructuralPartialEq for DebugEventType
Auto Trait Implementations§
impl Freeze for DebugEventType
impl RefUnwindSafe for DebugEventType
impl Send for DebugEventType
impl Sync for DebugEventType
impl Unpin for DebugEventType
impl UnsafeUnpin for DebugEventType
impl UnwindSafe for DebugEventType
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