Trait solana_runtime::bank::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
.