pub struct SimLogEntry {
pub seq: SeqNo,
pub timestamp_us: u64,
pub subsystem: Subsystem,
pub description: String,
pub payload: Option<Vec<u8>>,
}Expand description
A single recorded simulation event.
Fields§
§seq: SeqNoMonotonic sequence number (unique within a simulation run).
timestamp_us: u64Logical timestamp (microseconds) when this event occurred.
subsystem: SubsystemWhich subsystem produced this event.
description: StringHuman-readable description of what happened.
payload: Option<Vec<u8>>Optional structured payload (for machine comparison).
Trait Implementations§
Source§impl Clone for SimLogEntry
impl Clone for SimLogEntry
Source§fn clone(&self) -> SimLogEntry
fn clone(&self) -> SimLogEntry
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 moreAuto Trait Implementations§
impl Freeze for SimLogEntry
impl RefUnwindSafe for SimLogEntry
impl Send for SimLogEntry
impl Sync for SimLogEntry
impl Unpin for SimLogEntry
impl UnsafeUnpin for SimLogEntry
impl UnwindSafe for SimLogEntry
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