Struct undo::record::Checkpoint [−][src]
pub struct Checkpoint<'a, A, F> { /* fields omitted */ }
Expand description
Wraps a record and gives it checkpoint functionality.
Implementations
Cancels the changes and consumes the checkpoint.
Errors
If an error occur when canceling the changes, the error is returned and the remaining actions are not canceled.
Returns a checkpoint.