Trait RuntimeParameterStore
pub trait RuntimeParameterStore {
    type AggregatedKeyValue: AggregatedKeyValue;
    // Required method
    fn get<KV, K>(key: K) -> Option<<K as Key>::Value>
       where KV: AggregatedKeyValue,
             K: Key + Into<<KV as AggregatedKeyValue>::Key>,
             <KV as AggregatedKeyValue>::Key: IntoKey<<Self::AggregatedKeyValue as AggregatedKeyValue>::Key>,
             <Self::AggregatedKeyValue as AggregatedKeyValue>::Value: TryIntoKey<<KV as AggregatedKeyValue>::Value>,
             <KV as AggregatedKeyValue>::Value: TryInto<<K as Key>::WrappedValue>;
}Expand description
A dynamic parameter store across an aggregated KV type.
Required Associated Types§
Required Methods§
fn get<KV, K>(key: K) -> Option<<K as Key>::Value>where
    KV: AggregatedKeyValue,
    K: Key + Into<<KV as AggregatedKeyValue>::Key>,
    <KV as AggregatedKeyValue>::Key: IntoKey<<Self::AggregatedKeyValue as AggregatedKeyValue>::Key>,
    <Self::AggregatedKeyValue as AggregatedKeyValue>::Value: TryIntoKey<<KV as AggregatedKeyValue>::Value>,
    <KV as AggregatedKeyValue>::Value: TryInto<<K as Key>::WrappedValue>,
fn get<KV, K>(key: K) -> Option<<K as Key>::Value>where
    KV: AggregatedKeyValue,
    K: Key + Into<<KV as AggregatedKeyValue>::Key>,
    <KV as AggregatedKeyValue>::Key: IntoKey<<Self::AggregatedKeyValue as AggregatedKeyValue>::Key>,
    <Self::AggregatedKeyValue as AggregatedKeyValue>::Value: TryIntoKey<<KV as AggregatedKeyValue>::Value>,
    <KV as AggregatedKeyValue>::Value: TryInto<<K as Key>::WrappedValue>,
Get the value of a parametrized key.
Should return None if no explicit value was set instead of a default.
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.