BlockHistoryState

Trait BlockHistoryState 

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

Required Methods§

Source

fn apply_update( self, block_history_entry: &BlockHistoryEntry<N>, 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<N: NodePrimitives> BlockHistoryState<N> for KabuDB

Source§

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

Implementors§