fuel_merkle::storage

Trait StorageInspectInfallible

Source
pub trait StorageInspectInfallible<Type: Mappable> {
    // Required methods
    fn get(&self, key: &Type::Key) -> Option<Cow<'_, Type::OwnedValue>>;
    fn contains_key(&self, key: &Type::Key) -> bool;
}

Required Methods§

Source

fn get(&self, key: &Type::Key) -> Option<Cow<'_, Type::OwnedValue>>

Source

fn contains_key(&self, key: &Type::Key) -> bool

Implementors§

Source§

impl<S, Type> StorageInspectInfallible<Type> for S
where S: StorageInspect<Type, Error = Infallible>, Type: Mappable,