pub trait DataSource: Send + Sync {
// Required methods
fn column(&self, name: &str) -> Option<Vec<f64>>;
fn column_names(&self) -> Vec<String>;
fn len(&self) -> usize;
}Expand description
Generic data-provider contract for embedding this crate into host apps.