pub trait ValidDiscriminant:
Sealed
+ Copy
+ Eq
+ Ord
+ Debug
+ Send
+ Sync
+ 'static { }
Expand description
Marker trait for types that abi_stable supports as enum discriminants.
This trait cannot be implemented outside of this module.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.