Skip to main content

Module sessions

Module sessions 

Source
Expand description

Supported public session API: SessionManager, Session, SessionEvent, the bounded read result types, session-ID validation, and append/title helpers. Storage, diagnostics, pruning, metadata, and repair helpers remain crate-private implementation details.

Structs§

Session
SessionEvent
SessionManager
SessionReadDiagnostic
TolerantSessionEvents

Enums§

SessionAppendError
SessionAppendOutcome

Constants§

SESSION_TITLE_EVENT

Functions§

latest_session_title
record_session_event
Append a session event for paths where persistence is part of user-visible behavior.
record_session_title
sanitize_session_title
session_user_input_count
try_record_session_event
Best-effort session event recording for runtime telemetry.
validate_session_id