A Type Stronger than the Sum of its Components
Summary
The article describes turning an enum with multiple variants into distinct types to improve safety and clarity when manipulating Rust Path components. It provides concrete examples, discusses the benefits of strong typing, and notes some platform-specific caveats around path normalization.