pub trait MemoryStrategy: Send + Sync {
// Required method
fn evaluate(
&self,
exchange: &Exchange,
store: &dyn MemoryStoreView,
) -> StrategyOutput;
}Required Methods§
fn evaluate( &self, exchange: &Exchange, store: &dyn MemoryStoreView, ) -> StrategyOutput
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".