pub struct TransactionResult<C = (), O = ()> {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_plan: ResourcePlan<C>,
pub output_frames: Vec<OutputFrame<O>>,
pub scope_events: Vec<ScopeLifecycleTrace>,
pub audit_log: Vec<AuditEntry>,
pub phase_trace: Vec<TransactionPhase>,
pub invariant_results: Vec<InvariantResultTrace>,
}Expand description
Result returned by a committed input transaction.
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 that changed in stable node-id order.
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 that changed in deterministic topological order.
recomputed_collection_nodes: Vec<NodeId>Collection nodes recomputed in deterministic topological order.
changed_collection_nodes: Vec<NodeId>Collection nodes that changed in deterministic topological order.
collection_diffs: Vec<CollectionDiffTrace>Payload-neutral collection diff summaries in stable node-id order.
resource_plan: ResourcePlan<C>Data-only resource commands produced by graph propagation.
output_frames: Vec<OutputFrame<O>>Data-only materialized output frames produced by graph propagation.
scope_events: Vec<ScopeLifecycleTrace>Scope lifecycle events emitted by this transaction.
audit_log: Vec<AuditEntry>Deterministic audit entries for staged input writes.
phase_trace: Vec<TransactionPhase>Deterministic transaction phase trace.
invariant_results: Vec<InvariantResultTrace>Optional invariant results layered by test support.
Implementations§
Source§impl<C, O> TransactionResult<C, O>
impl<C, O> TransactionResult<C, O>
Sourcepub fn trace(&self) -> TransactionTrace
pub fn trace(&self) -> TransactionTrace
Returns a deterministic payload-free projection of this result.
Trait Implementations§
Source§impl<C: Clone, O: Clone> Clone for TransactionResult<C, O>
impl<C: Clone, O: Clone> Clone for TransactionResult<C, O>
Source§fn clone(&self) -> TransactionResult<C, O>
fn clone(&self) -> TransactionResult<C, O>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl<C: Eq, O: Eq> Eq for TransactionResult<C, O>
Source§impl<C: PartialEq, O: PartialEq> PartialEq for TransactionResult<C, O>
impl<C: PartialEq, O: PartialEq> PartialEq for TransactionResult<C, O>
Source§fn eq(&self, other: &TransactionResult<C, O>) -> bool
fn eq(&self, other: &TransactionResult<C, O>) -> bool
self and other values to be equal, and is used by ==.