Skip to main content

required_access

Function required_access 

Source
pub fn required_access(method: &Method, route: &str) -> Access
Expand description

The scope table, keyed on axum’s matched route pattern. Unlisted routes fail closed to admin.