Trait frame_support::storage::types::HasKeyPrefix
source · pub trait HasKeyPrefix<P>: KeyGenerator {
type Suffix;
// Required method
fn partial_key(prefix: P) -> Vec<u8> ⓘ;
}
Expand description
Trait indicating whether a KeyGenerator has the prefix P.
Required Associated Types§
Required Methods§
fn partial_key(prefix: P) -> Vec<u8> ⓘ
Object Safety§
This trait is not object safe.