RouterConfigure

Trait RouterConfigure 

Source
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.

Required Methods§

Source

fn configure(&self, router: Router) -> Result<Router, ErrorPtr>

Configure and return existing Router.

Trait Implementations§

Implementors§