Rust Compile Time Invariants

Use when designing Rust APIs, structs, or enums to make invalid states unrepresentable and force the compiler to flag missed updates when fields/variants change — covers private-field sealing,

narenaryan Updated

File contents

narenaryan/agent-skills/tree/main/skills/rust/rust-compile-time-invariants commit b2ed6be991

Frequently asked questions

npx skillmds@latest add narenaryan/rust-compile-time-invariants