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

Trait CountedStorageMapInstance

Source
pub trait CountedStorageMapInstance: StorageInstance {
    type CounterPrefix: StorageInstance;
}
Expand description

The requirement for an instance of CountedStorageMap.

Required Associated Types§

Source

type CounterPrefix: StorageInstance

The prefix to use for the counter storage value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§