1 2 3 4 5 6 7 8 9 10 11 12 13
//! Rate calculation strategy implementations. //! //! This module contains concrete implementations of the RateCalculationPolicy trait. mod diminishing; mod exponential; mod linear; mod threshold; pub use diminishing::DiminishingRate; pub use exponential::ExponentialRate; pub use linear::LinearRate; pub use threshold::ThresholdRate;