Cliff L. Biffle personal blog
The Typestate Pattern in Rust
The typestate pattern is an API design pattern that encodes information about an object’s run-time state in its compile-time type . In particular, an API using the typestate pattern will have:
- Points
- 0
- HN comments
- 0
- Submissions
- 0
- Cited by
- 18 commenters
Software EngineeringProgramming Languages2019
Cited in comments
Linked from 21 Hacker News comments by 18 different people, from Dec 2019 to Sep 2026.
Most recent: