//! Session statistics.
/// Session id
pubtypeSessionId=u64;/// Keeps track of open sessions
pubtraitSessionStats: Send + Sync + 'static {/// Executed when new session is opened.
fnopen_session(&self, id: SessionId);/// Executed when session is closed.
fnclose_session(&self, id: SessionId);}