Structs§
- Enum
Conversion Error - Custom errors for this crate. Keeps a record of the enum and requested type that produced the error
Traits§
- GetVariant
- This is a helper trait for implementing the
TryToandstd::convert::TryFromtraits on enums. Is uses marker structs to uniquely identify a type in the enum. This avoids relying onstd::any::TypeIdwhich is limited to types that are'static. - TryTo
- Not all enums can have the
std::convert::TryFromtrait derived on them because of rules around implementing foreign traits on foreign types.