referrerpolicy=no-referrer-when-downgrade

Trait AggregatedKeyValue

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§

type Key: Parameter + MaxEncodedLen

The aggregated key type.

type Value: Parameter + MaxEncodedLen

The aggregated value type.

Required Methods§

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.

Implementations on Foreign Types§

§

impl AggregatedKeyValue for ()

Implementors§