pub fn sources<Id, S, I>(iter: I) -> impl Cache<Id>where Id: Display + Hash + PartialEq + Eq + Clone + 'static, I: IntoIterator<Item = (Id, S)>, S: AsRef<str>,
Create a Cache from a collection of ID/strings, where each corresponds to a Source.
Cache
Source