pub trait StorageCreditsError: Sized {
// Required methods
fn out_of_gas() -> Self;
fn fatal_external() -> Self;
}Expand description
Error mapping required by storage credit accounting.
Required Methods§
fn out_of_gas() -> Self
fn fatal_external() -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".