描述
编写 Apollo Router 原生 Rust 插件的指南。在以下场景使用此技能:(1) 用户想要创建新的 router 插件,(2) 用户想要添加 service hooks(router_service、supergraph_service、execution_service、subgraph_service),(3) 用户想要修改现有的 router 插件,(4) 用户需要理解 router 插件模式或请求生命周期,(5) 触发请求如"create a new plugin"、"add a router plugin"、"modify the X plugin"或"add subgraph_service hook"。