Skip to main content

StatsRead

Trait StatsRead 

Source
pub trait StatsRead {
    // Required method
    fn get_stats<'a>(
        &'a self,
        stats_type: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
}

Required Methods§

Source

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".

Implementors§