pub trait AggregatedKeyValue: Parameter {
type Key: Parameter + MaxEncodedLen;
type Value: Parameter + MaxEncodedLen;
// Required method
fn into_parts(self) -> (Self::Key, Option<Self::Value>);
}
Expand description
The aggregated key-value type of a dynamic parameter store.
Required Associated Types§
Sourcetype Key: Parameter + MaxEncodedLen
type Key: Parameter + MaxEncodedLen
The aggregated key type.
Sourcetype Value: Parameter + MaxEncodedLen
type Value: Parameter + MaxEncodedLen
The aggregated value type.
Required Methods§
Sourcefn into_parts(self) -> (Self::Key, Option<Self::Value>)
fn into_parts(self) -> (Self::Key, Option<Self::Value>)
Split the aggregated key-value type into its parts.
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.