[−][src]Module rustc_ap_rustc_data_structures::undo_log
Module which contains the snapshot/rollback functionality of the ena data structures.
For most usecases this is just an internal implementation detail. However if many ena
data structures are used snapshotted simultaneously it is possible to use
UnificationTableStorage/SnapshotVecStorage instead and use a custom UndoLogs<T>
type capable of recording the actions of all used data structures.
Since the *Storage variants do not have an undo log with_log must be called with the
unified log before any mutating actions.
Structs
| NoUndo | |
| Snapshot | Snapshots are tokens that should be created/consumed linearly. |
| VecLog | A basic undo log. |
Traits
| Rollback | A trait implemented for storage types (like |
| Snapshots | A trait which extends |
| UndoLogs | A trait which allows undo actions ( |