pub trait ConfigurableDataset: Dataset {
type Config: DatasetConfig<Dataset = Self>;
// Required method
fn from_config(config: Self::Config) -> Result<Self, DatasetError>
where Self: Sized;
}pub trait ConfigurableDataset: Dataset {
type Config: DatasetConfig<Dataset = Self>;
// Required method
fn from_config(config: Self::Config) -> Result<Self, DatasetError>
where Self: Sized;
}