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§