pub trait StudySessionManager {
    // Required methods
    fn get_study_session(&self, id: &str) -> Option<StudySession>;
    fn list_study_sessions(&self) -> Vec<(String, String)>;
}
Expand description

A trait with functions to manage saved study session. Each session is given a unique name to use as an identifier.

Required Methods§

source

fn get_study_session(&self, id: &str) -> Option<StudySession>

Gets the study session with the given ID.

source

fn list_study_sessions(&self) -> Vec<(String, String)>

Returns a list of study session IDs and descriptions.

Implementors§