Skip to main content

StatsSessionExt

Trait StatsSessionExt 

Source
pub trait StatsSessionExt: SessionExt {
    // Provided method
    fn stats(&self) -> SessionGuard<'_, StatsSession> { ... }
}
Expand description

Extension trait for accessing stats session data.

Provided Methods§

Source

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

Implementors§