pub enum EventDataSnapshot {
Show 24 variants
None,
Task {
task: IdSnapshot,
region: IdSnapshot,
},
Region {
region: IdSnapshot,
parent: Option<IdSnapshot>,
},
Obligation {
obligation: IdSnapshot,
task: IdSnapshot,
region: IdSnapshot,
kind: ObligationKindSnapshot,
state: ObligationStateSnapshot,
duration_ns: Option<u64>,
abort_reason: Option<ObligationAbortReasonSnapshot>,
},
Cancel {
task: IdSnapshot,
region: IdSnapshot,
reason: CancelReasonSnapshot,
},
RegionCancel {
region: IdSnapshot,
reason: CancelReasonSnapshot,
},
Time {
old: u64,
new: u64,
},
Timer {
timer_id: u64,
deadline: Option<u64>,
},
IoRequested {
token: u64,
interest: u8,
},
IoReady {
token: u64,
readiness: u8,
},
IoResult {
token: u64,
bytes: i64,
},
IoError {
token: u64,
kind: u8,
},
RngSeed {
seed: u64,
},
RngValue {
value: u64,
},
Checkpoint {
sequence: u64,
active_tasks: u32,
active_regions: u32,
},
Futurelock {
task: IdSnapshot,
region: IdSnapshot,
idle_steps: u64,
held: Vec<HeldObligationSnapshot>,
},
Monitor {
monitor_ref: u64,
watcher: IdSnapshot,
watcher_region: IdSnapshot,
monitored: IdSnapshot,
},
Down {
monitor_ref: u64,
watcher: IdSnapshot,
monitored: IdSnapshot,
completion_vt: u64,
reason: DownReasonSnapshot,
},
Link {
link_ref: u64,
task_a: IdSnapshot,
region_a: IdSnapshot,
task_b: IdSnapshot,
region_b: IdSnapshot,
},
Exit {
link_ref: u64,
from: IdSnapshot,
to: IdSnapshot,
failure_vt: u64,
reason: DownReasonSnapshot,
},
Message(String),
Chaos {
kind: String,
task: Option<IdSnapshot>,
detail: String,
},
Worker {
worker_id: String,
job_id: u64,
decision_seq: u64,
replay_hash: u64,
task: IdSnapshot,
region: IdSnapshot,
obligation: IdSnapshot,
},
Budget {
task: IdSnapshot,
region: IdSnapshot,
protocol: String,
deadline_ns: Option<u64>,
poll_quota: u64,
cost_quota: Option<u64>,
priority: u8,
source: Option<String>,
elapsed_ns: Option<u64>,
outcome: Option<String>,
},
}Expand description
Serializable trace event payload.
Variants§
None
No additional data.
Task
Task-related event.
Region
Region-related event.
Obligation
Obligation-related event.
Fields
obligation: IdSnapshotObligation identifier.
task: IdSnapshotTask holding the obligation.
region: IdSnapshotOwning region.
kind: ObligationKindSnapshotObligation kind.
state: ObligationStateSnapshotObligation state.
abort_reason: Option<ObligationAbortReasonSnapshot>Abort reason, if applicable.
Cancel
Cancellation-related event.
Fields
task: IdSnapshotTask identifier.
region: IdSnapshotRegion identifier.
reason: CancelReasonSnapshotCancellation reason.
RegionCancel
Region cancellation event.
Time
Time-related event.
Timer
Timer event.
IoRequested
I/O request event.
IoReady
I/O ready event.
IoResult
I/O result event.
IoError
I/O error event.
RngSeed
RNG seed event.
RngValue
RNG value event.
Checkpoint
Checkpoint event.
Fields
Futurelock
Futurelock event data.
Fields
task: IdSnapshotTask identifier.
region: IdSnapshotRegion identifier.
held: Vec<HeldObligationSnapshot>Obligations held at detection time.
Monitor
Monitor lifecycle event.
Fields
watcher: IdSnapshotWatcher task id.
watcher_region: IdSnapshotWatcher region id.
monitored: IdSnapshotMonitored task id.
Down
Down notification delivery.
Fields
watcher: IdSnapshotWatcher task id.
monitored: IdSnapshotMonitored task id.
reason: DownReasonSnapshotReason for termination.
Link
Link lifecycle event.
Fields
task_a: IdSnapshotOne side task id.
region_a: IdSnapshotOne side region id.
task_b: IdSnapshotOther side task id.
region_b: IdSnapshotOther side region id.
Exit
Exit signal delivery.
Fields
from: IdSnapshotSource task id.
to: IdSnapshotTarget task id.
reason: DownReasonSnapshotReason for termination.
Message(String)
User-defined message.
Chaos
Chaos injection details.
Fields
task: Option<IdSnapshot>Optional task identifier.
Worker
Worker-offload lifecycle data.
Fields
task: IdSnapshotOriginating task identifier.
region: IdSnapshotOriginating region identifier.
obligation: IdSnapshotOriginating obligation identifier.
Budget
Server request-region budget data.
Trait Implementations§
Source§impl Clone for EventDataSnapshot
impl Clone for EventDataSnapshot
Source§fn clone(&self) -> EventDataSnapshot
fn clone(&self) -> EventDataSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more