fn render_classes<'a, I>( output: &mut String, title: &str, classes: I, local: Option<&[OwnedEventId]>, full: bool, ) -> Result<BTreeMap<&'a ServerName, usize>, Error>where I: Iterator<Item = (&'a [OwnedEventId], &'a Origins)> + Clone,