2 releases

Uses old Rust 2015

0.1.1-alpha1 Nov 4, 2018
0.1.0 Oct 26, 2018

#2228 in Rust patterns

Download history 56/week @ 2023-10-21 57/week @ 2023-10-28 49/week @ 2023-11-04 46/week @ 2023-11-11 50/week @ 2023-11-18 64/week @ 2023-11-25 26/week @ 2023-12-02 46/week @ 2023-12-09 59/week @ 2023-12-16 50/week @ 2023-12-23 26/week @ 2023-12-30 45/week @ 2024-01-06 56/week @ 2024-01-13 40/week @ 2024-01-20 38/week @ 2024-01-27 22/week @ 2024-02-03

163 downloads per month
Used in 3 crates

MIT license

6KB
163 lines


Provides a trait CheckedEnum and a type UncheckedEnum which are useful when wrapping FFI libraries that use enums which you cannot guarantee will be in range, but you would like to allow a program to keep running when such an enum value is encourtered

No runtime deps