pub trait Revertible {
// Required method
fn revert<E: Into<OdraError>>(&self, error: E) -> !;
}Expand description
Represents a component that can revert the contract execution.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.