Module diff

Source
Expand description

§VM State Differences

This module provides the ability to generate diffs between two VMs internal states. The diff can then be used to invert a VM to the original state. This module is experimental work in progress and currently only used in testing although it could potentially stabilize to be used in production.

Structs§

Delta
The Delta struct represents the difference between two states of the VM.
Deltas
Family of state data that are implemented with the Delta struct. Captures the difference between the current and previous state of the VM.
Diff
A diff of VM state.
InitialVmState
Family of state data that are implemented with the Previous struct. Captures the initial state of the VM.
Previous
The State type when capturing the initial state of the VM.

Traits§

AnyDebug
A trait that combines the Debug and Any traits.
VmStateCapture
A mapping between the kind of state that is being capture and the concrete data that is collected.