Trait orml_traits::CombineData

source ·
pub trait CombineData<Key, TimestampedValue> {
    // Required method
    fn combine_data(
        key: &Key,
        values: Vec<TimestampedValue>,
        prev_value: Option<TimestampedValue>
    ) -> Option<TimestampedValue>;
}
Expand description

Combine data provided by operators

Required Methods§

source

fn combine_data( key: &Key, values: Vec<TimestampedValue>, prev_value: Option<TimestampedValue> ) -> Option<TimestampedValue>

Combine data provided by operators

Object Safety§

This trait is not object safe.

Implementors§