pub struct ErrorLogEntry {
pub msg: [u8; 96],
pub len: u8,
pub stage: InitStage,
pub is_error: bool,
}Expand description
Single log entry in the ring buffer
Fields§
§msg: [u8; 96]Message content (null-terminated or full)
len: u8Actual message length (excluding null)
stage: InitStageInitialization stage when error occurred
is_error: boolTrue if this is an error, false if just a debug/info log
Implementations§
Trait Implementations§
Source§impl Clone for ErrorLogEntry
impl Clone for ErrorLogEntry
Source§fn clone(&self) -> ErrorLogEntry
fn clone(&self) -> ErrorLogEntry
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ErrorLogEntry
impl RefUnwindSafe for ErrorLogEntry
impl Send for ErrorLogEntry
impl Sync for ErrorLogEntry
impl Unpin for ErrorLogEntry
impl UnwindSafe for ErrorLogEntry
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