pub struct SimEvent {
pub timestamp_us: u64,
pub node: usize,
pub face: Option<u32>,
pub kind: EventKind,
pub name: String,
pub detail: Option<String>,
}Expand description
A recorded simulation event.
Fields§
§timestamp_us: u64Microseconds since simulation start.
node: usizeNode index where the event occurred.
face: Option<u32>Face ID involved (if applicable).
kind: EventKindEvent classification.
name: StringNDN name involved.
detail: Option<String>Optional detail string (e.g. “cache-hit”, “nack:NoRoute”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimEvent
impl RefUnwindSafe for SimEvent
impl Send for SimEvent
impl Sync for SimEvent
impl Unpin for SimEvent
impl UnwindSafe for SimEvent
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