referrerpolicy=no-referrer-when-downgrade
frame_support::storage::migration

Function take_storage_item

Source
pub fn take_storage_item<K: Encode + Sized, T: Decode + Sized, H: StorageHasher>(
    module: &[u8],
    item: &[u8],
    key: K,
) -> Option<T>
Expand description

Take a particular item in storage by the module, the map’s item name and the key hash.