referrerpolicy=no-referrer-when-downgrade

Trait ParameterStore

pub trait ParameterStore<KV>{
    // 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>,

Get the value of a parametrized key.

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.

Implementors§