Skip to main content

Module middleware

Module middleware 

Source

Structs§

SymbolicMiddlewareRef

Enums§

CloseReason
Reason a connection closed. #[non_exhaustive] so new operator- visible reasons (e.g. quota-hit, rate-limit-trip) can be added without breaking downstream observers that pattern-match on the enum.
Decision
Middleware verdict. #[non_exhaustive] so future verdicts (e.g. a future suspend/replay shape) can land in vane-core without a downstream-breaking match.
MiddlewareKind
ShortCircuit
Short-circuit branch for Decision::Short. #[non_exhaustive] keeps the engine’s switch resilient to new short-circuit shapes (synthetic 1xx interim responses, in-flow rewrites) being added without forcing every consumer to recompile.

Traits§

L4BytesMiddleware
L4PeekMiddleware
L7RequestMiddleware
L7ResponseMiddleware