Trait jsonrpc_server_utils::session::SessionStats[][src]

pub trait SessionStats: Send + Sync + 'static {
    fn open_session(&self, id: SessionId);
fn close_session(&self, id: SessionId); }

Keeps track of open sessions

Required methods

fn open_session(&self, id: SessionId)[src]

Executed when new session is opened.

fn close_session(&self, id: SessionId)[src]

Executed when session is closed.

Loading content...

Implementors

Loading content...