Skip to content

Glossary: Software Design Patterns in Rust

Chain of responsibility

Also written: chain

A pattern where a request passes along a line of handlers, each of which rejects it or passes it on. Kettle & Crane's order checks (known carrier, under limit) work this way.

Where the book teaches it

Related terms

HandlerMiddleware