Trait fuel_storage::StorageInspect
source · pub trait StorageInspect<Type: Mappable> {
type Error;
// Required methods
fn get(
&self,
key: &Type::Key,
) -> Result<Option<Cow<'_, Type::OwnedValue>>, Self::Error>;
fn contains_key(&self, key: &Type::Key) -> Result<bool, Self::Error>;
}
Expand description
Base read storage trait for Fuel infrastructure.
Generic should implement Mappable
trait with all storage type information.