1 2 3 4 5
let results = self.health_manager.check_all().await; if results.iter().any(|r| r.status.is_err()) { return Err(AppError::Health(results)); } Ok(results)