pub fn state_value(
layout: &StorageLayout,
words: &StorageWords<'_>,
path: &str,
) -> Result<StateVariable, String>Expand description
The value at a storage path such as owner, balances[0xabc], items[2], or
config.limit. Err says why the path does not name a place in storage.