pub async fn run_oop_serving(
opts: RunOptions,
serve: OopServeOptions,
) -> Result<()>Expand description
Run an out-of-process gear and serve its HTTP routes.
Uses the same setup as run, then drives the OoP serving lifecycle:
lifecycle phases, an Axum HTTP server with framework probes, background
self-registration, dependency resolution, and graceful drain.
ยงErrors
Returns an error if discovery, any lifecycle phase, or the HTTP server fails.