Expand description
Structs§
- A fallback that has been configured but has not yet been registered with a
Blueprint
. - Used by
Blueprint::route
to specify which HTTP methods the route should match. - The type returned by
Blueprint::fallback
. - The type returned by
Blueprint::route
. - A route that has been configured but has not yet been registered with a
Blueprint
.
Constants§
- A
MethodGuard
that matches incoming requests with a well-known HTTP method:CONNECT
,DELETE
,GET
,HEAD
,PATCH
,POST
,PUT
,OPTIONS
,TRACE
. - A
MethodGuard
that matches all incoming requests, no matter their HTTP method, even if it’s a custom one. - A
MethodGuard
that matches incoming requests using theCONNECT
HTTP method. - A
MethodGuard
that matches incoming requests using theDELETE
HTTP method. - A
MethodGuard
that matches incoming requests using theGET
HTTP method. - A
MethodGuard
that matches incoming requests using theHEAD
HTTP method. - A
MethodGuard
that matches incoming requests using theOPTIONS
HTTP method. - A
MethodGuard
that matches incoming requests using thePATCH
HTTP method. - A
MethodGuard
that matches incoming requests using thePOST
HTTP method. - A
MethodGuard
that matches incoming requests using thePUT
HTTP method. - A
MethodGuard
that matches incoming requests using theTRACE
HTTP method.