use crateResource;
/// Persistence backend for a specific resource type.
///
/// The trait is parameterized on `R` so that different data layers can
/// impose different bounds on the resources they support. For example,
/// `InMemoryDataLayer` has a blanket impl for all `R: Resource`, while
/// a SQLite data layer can additionally require `R: SqlResource`.