Skip to main content

StorageCreditsError

Trait StorageCreditsError 

Source
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§

Source

fn out_of_gas() -> Self

Source

fn fatal_external() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StorageCreditsError for InstructionResult

Implementors§