Trait orml_traits::parameters::RuntimeParameterStore
source · pub trait RuntimeParameterStore {
type AggregratedKeyValue: AggregratedKeyValue;
// Required method
fn get<KV, K>(key: K) -> Option<K::Value>
where KV: AggregratedKeyValue,
K: Key + Into<<KV as AggregratedKeyValue>::AggregratedKey>,
<KV as AggregratedKeyValue>::AggregratedKey: Into2<<<Self as RuntimeParameterStore>::AggregratedKeyValue as AggregratedKeyValue>::AggregratedKey>,
<<Self as RuntimeParameterStore>::AggregratedKeyValue as AggregratedKeyValue>::AggregratedValue: TryInto2<<KV as AggregratedKeyValue>::AggregratedValue>,
<KV as AggregratedKeyValue>::AggregratedValue: TryInto<K::WrappedValue>;
}
Required Associated Types§
Required Methods§
fn get<KV, K>(key: K) -> Option<K::Value>where
KV: AggregratedKeyValue,
K: Key + Into<<KV as AggregratedKeyValue>::AggregratedKey>,
<KV as AggregratedKeyValue>::AggregratedKey: Into2<<<Self as RuntimeParameterStore>::AggregratedKeyValue as AggregratedKeyValue>::AggregratedKey>,
<<Self as RuntimeParameterStore>::AggregratedKeyValue as AggregratedKeyValue>::AggregratedValue: TryInto2<<KV as AggregratedKeyValue>::AggregratedValue>,
<KV as AggregratedKeyValue>::AggregratedValue: TryInto<K::WrappedValue>,
Object Safety§
This trait is not object safe.