Struct undo::record::Checkpoint[][src]

pub struct Checkpoint<'a, A, F> { /* fields omitted */ }
Expand description

Wraps a record and gives it checkpoint functionality.

Implementations

Calls the apply method.

Calls the undo method.

Calls the redo method.

Commits the changes and consumes the checkpoint.

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 queue.

Returns a checkpoint.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.