pub struct TransactionTrace {Show 16 fields
pub transaction_id: TransactionId,
pub revision: Revision,
pub staged_input_changes: Vec<StagedInputChange>,
pub changed_inputs: Vec<NodeId>,
pub dirty_roots: Vec<NodeId>,
pub recomputed_derived_nodes: Vec<NodeId>,
pub changed_derived_nodes: Vec<NodeId>,
pub recomputed_collection_nodes: Vec<NodeId>,
pub changed_collection_nodes: Vec<NodeId>,
pub collection_diffs: Vec<CollectionDiffTrace>,
pub resource_commands: Vec<ResourceCommandTrace>,
pub output_frames: Vec<OutputFrameTrace>,
pub scope_events: Vec<ScopeLifecycleTrace>,
pub audit_log: Vec<AuditEntry>,
pub phase_trace: Vec<TransactionPhase>,
pub invariant_results: Vec<InvariantResultTrace>,
}Expand description
Deterministic payload-free projection of a committed transaction result.
Fields§
§transaction_id: TransactionIdCommitted transaction id.
revision: RevisionGraph revision after commit.
staged_input_changes: Vec<StagedInputChange>Staged input writes in stable node-id order.
changed_inputs: Vec<NodeId>Input nodes changed by this transaction.
dirty_roots: Vec<NodeId>Initial dirty roots in stable node-id order.
recomputed_derived_nodes: Vec<NodeId>Derived nodes recomputed in deterministic topological order.
changed_derived_nodes: Vec<NodeId>Derived nodes changed by this transaction.
recomputed_collection_nodes: Vec<NodeId>Collection nodes recomputed in deterministic topological order.
changed_collection_nodes: Vec<NodeId>Collection nodes changed by this transaction.
collection_diffs: Vec<CollectionDiffTrace>Payload-neutral collection diff summaries.
resource_commands: Vec<ResourceCommandTrace>Resource command identity and operation trace.
output_frames: Vec<OutputFrameTrace>Output frame identity and kind trace.
scope_events: Vec<ScopeLifecycleTrace>Scope lifecycle events emitted by the transaction.
audit_log: Vec<AuditEntry>Audit log emitted by the transaction.
phase_trace: Vec<TransactionPhase>Phase trace emitted by the transaction.
invariant_results: Vec<InvariantResultTrace>Optional invariant results layered by testing support.
Implementations§
Source§impl TransactionTrace
impl TransactionTrace
Sourcepub fn from_result<C, O>(result: &TransactionResult<C, O>) -> Self
pub fn from_result<C, O>(result: &TransactionResult<C, O>) -> Self
Builds a deterministic trace from a transaction result.
Trait Implementations§
Source§impl Clone for TransactionTrace
impl Clone for TransactionTrace
Source§fn clone(&self) -> TransactionTrace
fn clone(&self) -> TransactionTrace
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransactionTrace
impl Debug for TransactionTrace
impl Eq for TransactionTrace
Source§impl PartialEq for TransactionTrace
impl PartialEq for TransactionTrace
Source§fn eq(&self, other: &TransactionTrace) -> bool
fn eq(&self, other: &TransactionTrace) -> bool
self and other values to be equal, and is used by ==.