pub trait InjuryProvider: Send + Sync {
// Required method
fn current_injuries(
&self,
) -> impl Future<Output = ProviderResponse<InjuryReport>> + Send;
}Required Methods§
fn current_injuries( &self, ) -> impl Future<Output = ProviderResponse<InjuryReport>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".