pub struct StampedDeclaration {
pub cell_id: String,
pub run_id: String,
pub host_received_at: SystemTime,
pub spec_signature_hash: String,
pub probe_source: String,
pub guest_pid: u32,
pub guest_comm: String,
pub guest_monotonic_ns: u64,
}Expand description
Internal value type: a guest declaration with host-stamped attribution.
Internal — not a CloudEvent. F4b owns signing and projects this to
cellos_core::CloudEventV1 via the existing
cellos_core::events::observability_*_data_v1 builders. This crate
produces unsigned values; the supervisor signs them on the way out.
Fields§
§cell_id: StringPer-cell identifier (host-stamped).
run_id: StringPer-run identifier (host-stamped).
host_received_at: SystemTimeWallclock at host receive (host-stamped, per-frame).
spec_signature_hash: StringSHA-256 of the spec the cell was admitted under (host-stamped).
probe_source: StringProbe source identifier.
guest_pid: u32Guest-side process id observed by the probe.
guest_comm: StringGuest-side process command name.
guest_monotonic_ns: u64Guest-side monotonic timestamp at probe-fire (ns).
Trait Implementations§
Source§impl Clone for StampedDeclaration
impl Clone for StampedDeclaration
Source§fn clone(&self) -> StampedDeclaration
fn clone(&self) -> StampedDeclaration
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 moreAuto Trait Implementations§
impl Freeze for StampedDeclaration
impl RefUnwindSafe for StampedDeclaration
impl Send for StampedDeclaration
impl Sync for StampedDeclaration
impl Unpin for StampedDeclaration
impl UnsafeUnpin for StampedDeclaration
impl UnwindSafe for StampedDeclaration
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