pub struct TransactionResult<C = ()> {Show 17 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 resource_coalescences: Vec<ResourceCoalescedTrace>,
pub output_frames: Vec<OutputFrame>,
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.
resource_coalescences: Vec<ResourceCoalescedTrace>Shared-key Open joins that produced no outgoing resource command.
output_frames: Vec<OutputFrame>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 this transaction.
phase_trace: Vec<TransactionPhase>Deterministic transaction phase trace.
invariant_results: Vec<InvariantResultTrace>Optional invariant results layered by test support.
Implementations§
Source§impl<C> TransactionResult<C>
impl<C> TransactionResult<C>
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> Clone for TransactionResult<C>
impl<C: Clone> Clone for TransactionResult<C>
Source§fn clone(&self) -> TransactionResult<C>
fn clone(&self) -> TransactionResult<C>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<C: Debug> Debug for TransactionResult<C>
impl<C: Debug> Debug for TransactionResult<C>
Source§impl<C: PartialEq> PartialEq for TransactionResult<C>
impl<C: PartialEq> PartialEq for TransactionResult<C>
Source§fn eq(&self, other: &TransactionResult<C>) -> bool
fn eq(&self, other: &TransactionResult<C>) -> bool
self and other values to be equal, and is used by ==.