pub trait ProvidesFeeRates: Sync {
// Required method
fn fee_rate(
&self,
priority: FeePriority,
max_per_weight: u64,
) -> impl Send + Future<Output = Result<FeeRate, FeeError>>;
}Expand description
An interface which provides fee rates.
Required Methods§
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.