pub trait ApplicationHttpExt: Sized {
// Required method
fn with_router(self, router: Router) -> HttpApplication;
}Expand description
Extension methods for attaching HTTP routing to a bootstrapped application.
Required Methods§
Sourcefn with_router(self, router: Router) -> HttpApplication
fn with_router(self, router: Router) -> HttpApplication
Attaches an Axum router to the application.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".