pub fn encode_storage_key_suffix_with_info_to<Resolver, Keys>(
keys: Keys,
storage_info: &StorageInfo<'_, <Resolver as TypeResolver>::TypeId>,
type_resolver: &Resolver,
out: &mut Vec<u8>,
) -> Result<(), StorageKeyEncodeError>where
Keys: IntoEncodableValues,
Resolver: TypeResolver,
<Resolver as TypeResolver>::TypeId: Clone + Debug,Expand description
Encode the end part of a storage key (ie everything except for the prefix that can be encoded
via encode_storage_key_prefix) for a given pallet and storage entry and a set of keys that are each
able to be encoded via scale_encode::EncodeAsType.
This is the same as encode_storage_key_suffix_to, but is instead handed storage info that has been
pre-computed via StorageTypeInfo::storage_info. This avoids having to retrieve this information multiple
times if you’d like to encode many key suffixes for the same storage entry.
Prefer encode_storage_key_with_info_to if you need to encode the entire storage key at once and not
just the suffix.