licenses.dev

checked-enum v0.1.0

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.

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

This package has no dependencies.
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/cargo/checked-enum)](https://licenses.dev/cargo/checked-enum)
<a href="https://licenses.dev/cargo/checked-enum">
  <img src="https://licenses.dev/b/cargo/checked-enum" alt="licenses" />
</a>

Or the licenses badge code for the 0.1.0 version:

[![licenses](https://licenses.dev/b/cargo/checked-enum/0.1.0)](https://licenses.dev/cargo/checked-enum/0.1.0)
<a href="https://licenses.dev/cargo/checked-enum/0.1.0">
  <img src="https://licenses.dev/b/cargo/checked-enum/0.1.0" alt="licenses" />
</a>
GitHub