pub struct TransactionTrace {
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_commands: Vec<ResourceCommandTrace>,
pub output_frames: Vec<OutputFrameTrace>,
pub audit_log: Vec<AuditEntry>,
pub phase_trace: Vec<TransactionPhase>,
}Expand description
Deterministic payload-free projection of a committed transaction result.
Fields§
§transaction_id: TransactionIdCommitted transaction id.
revision: RevisionGraph revision after commit.
changed_inputs: Vec<NodeId>Input nodes changed by this transaction.
changed_derived_nodes: Vec<NodeId>Derived nodes changed by this transaction.
changed_collection_nodes: Vec<NodeId>Collection nodes changed by this transaction.
resource_commands: Vec<ResourceCommandTrace>Resource command identity and operation trace.
output_frames: Vec<OutputFrameTrace>Output frame identity and kind trace.
audit_log: Vec<AuditEntry>Audit log emitted by the transaction.
phase_trace: Vec<TransactionPhase>Phase trace emitted by the transaction.
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
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 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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactionTrace
Auto Trait Implementations§
impl Freeze for TransactionTrace
impl RefUnwindSafe for TransactionTrace
impl Send for TransactionTrace
impl Sync for TransactionTrace
impl Unpin for TransactionTrace
impl UnsafeUnpin for TransactionTrace
impl UnwindSafe for TransactionTrace
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