AUTO_ROUTES

Static AUTO_ROUTES 

Source
pub static AUTO_ROUTES: DistributedSlice<[fn() -> Route]>
Expand description

Distributed slice containing all auto-registered route factory functions.

Each element is a function that returns a Route when called. The macro #[rustapi::get], #[rustapi::post], etc. automatically add entries to this slice at compile/link time.