pub trait Family {
const ACCEPTS: &'static [&'static str];
}Expand description
A route family’s accepted floors, as a type — generated by app_routes! for
each "prefix" => ["floor", …] entry in its families block, and handed to
declares_expectation_in so the acceptance check can run in a const.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".