pub trait IterableDataProvider<M: KeyedDataMarker>: DataProvider<M> {
    // Required method
    fn supported_locales(&self) -> Result<Vec<DataLocale>, DataError>;
}
Expand description

A DataProvider that can iterate over all supported DataLocale for a certain key.

Implementing this trait means that a data provider knows all of the data it can successfully return from a load request.

Required Methods§

Implementors§