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