loom_types_entities

Trait BlockHistoryState

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

Required Methods§

Source

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

Source§

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

Implementors§