solana_runtime::bank

Trait RewardCalcTracer

Source
pub trait RewardCalcTracer:
    Fn(&RewardCalculationEvent<'_, '_>)
    + Send
    + Sync { }
Expand description

type alias is not supported for trait in rust yet. As a workaround, we define the RewardCalcTracer trait explicitly and implement it on any type that implement Fn(&RewardCalculationEvent) + Send + Sync.

Implementors§