fuel_core_storage

Trait IsNotFound

source
pub trait IsNotFound {
    // Required method
    fn is_not_found(&self) -> bool;
}
Expand description

The helper trait to work with storage errors.

Required Methods§

source

fn is_not_found(&self) -> bool

Return true if the error is Error::NotFound.

Implementors§