pub trait StorageKeyCodec {
// Required method
fn to_storage_key(&self) -> Result<StorageKey, StorageKeyEncodeError>;
}Expand description
StorageKeyCodec
Narrow typed storage-key codec for persistence and indexing admission.
This keeps typed key ownership off the runtime Value -> StorageKey bridge
so persisted identity boundaries can encode directly into StorageKey.