pub trait Rollback<U> {
// Required method
fn reverse(&mut self, undo: U);
}
Expand description
A trait implemented for storage types (like SnapshotVecStorage
) which can be rolled back using actions of type U
.
pub trait Rollback<U> {
// Required method
fn reverse(&mut self, undo: U);
}
A trait implemented for storage types (like SnapshotVecStorage
) which can be rolled back using actions of type U
.