Published onNovember 20, 2026ReferenceHow an Unknown Enum Value Breaks an Otherwise Compatible ConsumerAdding an enum value may be wire-compatible while an older consumer rejects, crashes, or chooses a dangerous default. Preserve the raw value and make unsupported behaviour explicit.
Published onSeptember 13, 2026Article · Through the layersRust Enum Niches: How Option<T> Can Cost No Extra ByteMeasured Rust enum layouts showing how invalid payload values encode Option discriminants, which optimizations are guaranteed, and what repr changes.