Skip to main content

MemoryStrategy

Trait MemoryStrategy 

Source
pub trait MemoryStrategy: Send + Sync {
    // Required method
    fn evaluate(
        &self,
        exchange: &Exchange,
        store: &dyn MemoryStoreView,
    ) -> StrategyOutput;
}

Required Methods§

Source

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".

Implementors§