Trait BlockHistoryState

Source
pub trait BlockHistoryState<LDT>
where LDT: KabuDataTypes,
{ // Required method fn apply_update( self, block_history_entry: &BlockHistoryEntry<LDT>, market_state_config: &MarketStateConfig, ) -> Self; }

Required Methods§

Source

fn apply_update( self, block_history_entry: &BlockHistoryEntry<LDT>, market_state_config: &MarketStateConfig, ) -> Self

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§

Source§

impl<LDT> BlockHistoryState<LDT> for KabuDB
where LDT: KabuDataTypes<StateUpdate = GethStateUpdate> + KabuDataTypes,

Source§

fn apply_update( self, block_history_entry: &BlockHistoryEntry<LDT>, market_state_config: &MarketStateConfig, ) -> Self

Implementors§