Trait Revertible

Source
pub trait Revertible {
    // Required method
    fn commit(self);
}
Expand description

Revertible type.

Required Methods§

Source

fn commit(self)

Commit the changes.

§Panic
  • Should panic if the commitment cannot be done.

Implementors§