1use crate::Parcel;
23/// An `enum` type.
4pub trait Enum : Parcel {
5/// The type used to store the enum discriminant
6type Discriminant: Parcel;
78/// Gets the discriminator of the current variant.
9fn discriminator(&self) -> Self::Discriminant;
10}
11