fuel_merkle::storage

Trait StorageMutateInfallible

source
pub trait StorageMutateInfallible<Type: Mappable> {
    // Required methods
    fn insert(&mut self, key: &Type::Key, value: &Type::Value);
    fn remove(&mut self, key: &Type::Key);
}

Required Methods§

source

fn insert(&mut self, key: &Type::Key, value: &Type::Value)

source

fn remove(&mut self, key: &Type::Key)

Implementors§

source§

impl<S, Type> StorageMutateInfallible<Type> for S
where S: StorageMutate<Type, Error = Infallible>, Type: Mappable,