pub fn rpc_messages( network_context: &NetworkContext, type_label: &'static str, state_label: &'static str ) -> IntCounter