pub struct KernelEventEnvelope {
pub seq: u64,
pub ts_ms: u64,
pub kind: String,
pub event: KernelEvent,
}Expand description
Row written to the kernel_events SQLite table.
The seq field is a global monotone counter within a runtime session
(not per-turn); the (turn_id, seq) pair is unique across the table.
Fields§
§seq: u64Global monotone sequence number assigned by the writer.
ts_ms: u64Unix timestamp (milliseconds).
kind: StringVariant name (mirrors KernelEvent::kind_str()).
event: KernelEventTrait Implementations§
Source§impl Clone for KernelEventEnvelope
impl Clone for KernelEventEnvelope
Source§fn clone(&self) -> KernelEventEnvelope
fn clone(&self) -> KernelEventEnvelope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KernelEventEnvelope
impl Debug for KernelEventEnvelope
Source§impl<'de> Deserialize<'de> for KernelEventEnvelope
impl<'de> Deserialize<'de> for KernelEventEnvelope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KernelEventEnvelope
impl RefUnwindSafe for KernelEventEnvelope
impl Send for KernelEventEnvelope
impl Sync for KernelEventEnvelope
impl Unpin for KernelEventEnvelope
impl UnsafeUnpin for KernelEventEnvelope
impl UnwindSafe for KernelEventEnvelope
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