Module saphir::guard

source ·
Expand description

A guard is called before the request is processed by the router and can modify the request data or stops request processing by returning a response immediately.

Structs

  • Builder to apply guards onto the handler

Traits

  • Auto trait implementation over every function that match the definition of a guard.