Trait fuel_merkle::storage::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,