We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
T
1 parent c0ab90a commit 7e3b49bCopy full SHA for 7e3b49b
src/undo_log.rs
@@ -8,8 +8,11 @@
8
//! Since the `*Storage` variants do not have an undo log `with_log` must be called with the
9
//! unified log before any mutating actions.
10
11
-/// A trait which allows actions (`T`) to be pushed which which allows the action to be undone at a
12
-/// later time if needed
+/// A trait which allows undo actions (`T`) to be pushed which can be used to rollback actio at a
+/// later time if needed.
13
+///
14
+/// The undo actions themselves are opaque to `UndoLogs`, only specified `Rollback` implementations
15
+/// need to know what an action is and how to reverse it.
16
pub trait UndoLogs<T> {
17
/// True if a snapshot has started, false otherwise
18
fn in_snapshot(&self) -> bool {
0 commit comments