pub trait IntoRouter {
// Required method
fn into_router(self) -> Result<Router, Box<dyn StdError + Send + Sync>>;
}Expand description
What the future given to App::run returns: a router, or why there is none.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".