pub trait StatsRead {
// Required method
fn get_stats<'a>(
&'a self,
stats_type: &'a str,
) -> impl Future<Output = Result<Value>> + Send + 'a;
}Required Methods§
fn get_stats<'a>( &'a self, stats_type: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".