1 2 3 4 5 6 7 8 9 10 11 12
use super::{Session, SessionManager}; impl SessionManager { // Session-only projection for profile_cpu_startup_discovery. pub(crate) fn list(&self) -> anyhow::Result<Vec<Session>> { Ok(self .list_metadata_summaries()? .into_iter() .map(|summary| summary.session) .collect()) } }