pub fn write_dispatchers<I: Iterator<Item = Message>>( interface: &Interface, messages: I, ) -> Vec<TokenStream>