Trait frame_support::traits::dynamic_params::ParameterStore
source · pub trait ParameterStore<KV: AggregatedKeyValue> {
// Required method
fn get<K>(key: K) -> Option<K::Value>
where K: Key + Into<<KV as AggregatedKeyValue>::Key>,
<KV as AggregatedKeyValue>::Value: TryInto<K::WrappedValue>;
}
Expand description
A dynamic parameter store across a concrete KV type.
Required Methods§
sourcefn get<K>(key: K) -> Option<K::Value>where
K: Key + Into<<KV as AggregatedKeyValue>::Key>,
<KV as AggregatedKeyValue>::Value: TryInto<K::WrappedValue>,
fn get<K>(key: K) -> Option<K::Value>where
K: Key + Into<<KV as AggregatedKeyValue>::Key>,
<KV as AggregatedKeyValue>::Value: TryInto<K::WrappedValue>,
Get the value of a parametrized key.
Object Safety§
This trait is not object safe.