spring_web::handler

Trait TypeRouter

source
pub trait TypeRouter {
    // Required method
    fn typed_route<F: TypedHandlerRegistrar>(self, factory: F) -> Self;
}
Expand description

Add typed routes marked with procedural macros

Required Methods§

source

fn typed_route<F: TypedHandlerRegistrar>(self, factory: F) -> Self

Add typed routes marked with procedural macros

Object Safety§

This trait is not object safe.

Implementors§