pub struct TransactionResult<C = (), O = ()> {
pub transaction_id: TransactionId,
pub revision: Revision,
pub changed_inputs: Vec<NodeId>,
pub changed_derived_nodes: Vec<NodeId>,
pub changed_collection_nodes: Vec<NodeId>,
pub resource_plan: ResourcePlan<C>,
pub output_frames: Vec<OutputFrame<O>>,
pub audit_log: Vec<AuditEntry>,
pub phase_trace: Vec<TransactionPhase>,
}Expand description
Result returned by a committed input transaction.
Fields§
§transaction_id: TransactionIdCommitted transaction id.
revision: RevisionGraph revision after commit.
changed_inputs: Vec<NodeId>Input nodes that changed in stable node-id order.
changed_derived_nodes: Vec<NodeId>Derived nodes that changed in deterministic topological order.
changed_collection_nodes: Vec<NodeId>Collection nodes that changed in deterministic topological 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.
audit_log: Vec<AuditEntry>Deterministic audit entries for staged input writes.
phase_trace: Vec<TransactionPhase>Deterministic transaction phase trace.
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>
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 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
Tests for
self and other values to be equal, and is used by ==.impl<C: PartialEq, O: PartialEq> StructuralPartialEq for TransactionResult<C, O>
Auto Trait Implementations§
impl<C, O> Freeze for TransactionResult<C, O>
impl<C, O> RefUnwindSafe for TransactionResult<C, O>where
C: RefUnwindSafe,
O: RefUnwindSafe,
impl<C, O> Send for TransactionResult<C, O>
impl<C, O> Sync for TransactionResult<C, O>
impl<C, O> Unpin for TransactionResult<C, O>
impl<C, O> UnsafeUnpin for TransactionResult<C, O>
impl<C, O> UnwindSafe for TransactionResult<C, O>where
C: UnwindSafe,
O: UnwindSafe,
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