pub trait RouterConfigure {
// Required method
fn configure(&self, router: Router) -> Result<Router, ErrorPtr>;
}Expand description
Trait for configuring Router created by RouterBootstrap. Multiple such components can be present and each one will be called with the current router instance.