pub trait ProcessBlockValues {
// Required method
fn process(
values: &[CurrencyAmount]
) -> Result<CurrencyAmount, &'static str>;
}
Expand description
Trait for processing accumulated currency values within a single block.
This can be anything from median, average, or more complex calculation.
Required Methods§
Object Safety§
This trait is not object safe.