Function seella::session_from_db

source ·
pub async fn session_from_db(
    addr: SocketAddr,
    session_id: &str
) -> Result<Session, Box<dyn Error>>
Expand description

Constructs a Session instance from a live database, given the DbModeOptions config.

This Session instance contains all of the information available from the system_traces.sessions table, as well as all of the information for the events relating to that session from the system_traces.events table.