Skip to main content

request_endpoints

Macro request_endpoints 

Source
macro_rules! request_endpoints {
    () => { ... };
    ($($endpoint:ty),+ $(,)?) => { ... };
}
Expand description

Compose route types into a RequestEndpointSet value, e.g., request_endpoints![Health, Echo, Status]. Each arm awaits a concrete handler future, so the set is monomorphized. There’s no boxing and it’sno_std-clean.