pub trait SessionConnector: Send + Sync {
// Required methods
fn source_id(&self) -> &str;
fn display_name(&self) -> &str;
fn detect(&self) -> ConnectorStatus;
fn default_path(&self) -> Option<PathBuf>;
fn import(&self, options: &ImportOptions) -> Result<Vec<NormalizedSession>>;
}Expand description
Trait for session connectors
Required Methods§
Sourcefn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable name
Sourcefn detect(&self) -> ConnectorStatus
fn detect(&self) -> ConnectorStatus
Check if this connector’s data source is available
Sourcefn default_path(&self) -> Option<PathBuf>
fn default_path(&self) -> Option<PathBuf>
Get the default data path for this connector
Sourcefn import(&self, options: &ImportOptions) -> Result<Vec<NormalizedSession>>
fn import(&self, options: &ImportOptions) -> Result<Vec<NormalizedSession>>
Import sessions from this source