pub trait StatsSessionExt: SessionExt {
// Provided method
fn stats(&self) -> SessionGuard<'_, StatsSession> { ... }
}Expand description
Extension trait for accessing stats session data.
Provided Methods§
Sourcefn stats(&self) -> SessionGuard<'_, StatsSession>
fn stats(&self) -> SessionGuard<'_, StatsSession>
Returns the stats session state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".