pub fn decode_default_storage_value_with_info<'info, 'resolver, V>(
storage_info: &'info StorageInfo<'_, <V::TypeResolver as TypeResolver>::TypeId>,
type_resolver: &'resolver V::TypeResolver,
visitor: V,
) -> Result<Option<V::Value<'info, 'resolver>>, StorageValueDecodeError<<V::TypeResolver as TypeResolver>::TypeId>>Expand description
Decode the default storage value given some StorageInfo.
The resulting value may be tied to the lifetime of the StorageInfo being provided if the implementation decides to borrow
from it. This is also why no decode_default_storage_value function exists; the StorageInfo must outlive this call.