Skip to main content

StorageCreditsErr

Trait StorageCreditsErr 

Source
pub trait StorageCreditsErr: 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 StorageCreditsErr for InstructionResult

Implementors§