Added
guard::GuardContext
for use with theGuard
trait. #2552ServiceRequest::guard_ctx
for obtaining a guard context. #2552
Changed
Guard
trait now receives a&GuardContext
. #2552guard::fn_guard
functions now receives a&GuardContext
. #2552- Some guards now return
impl Guard
and their concrete types are made private:guard::Header
and all the method guards. #2552 - The
Not
guard is now generic over the type of guard it wraps. #2552