pub trait RouteValue:
Any
+ Send
+ Sync
+ 'static {
// Provided methods
fn check(&self, _ctx: &BuildCtx<'_>) -> Result<(), String> { ... }
fn label(&self) -> Cow<'static, str> { ... }
}Expand description
Value attached via crate::Router::with (route, router, or app scope).
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".