pub fn adapt(
rt: &'static RouteDescriptor,
globals: &'static [&'static dyn Interceptor],
filters: &'static [&'static dyn BoundaryFilter],
) -> MethodRouter<&'static FrozenDiContainer>Expand description
Wrap a macro-generated route descriptor in an axum MethodRouter.
The HTTP method filter is baked in so the caller can drop the result
straight into Router::route.
Plugin-registered global interceptors compose as the outermost layers
around the handler (which already carries any #[UseInterceptors] chain).