Trait abi_stable::nonexhaustive_enum::SerializeEnum[][src]

pub trait SerializeEnum<NE> {
    type Proxy;
    fn serialize_enum(this: &NE) -> Result<Self::Proxy, RBoxError>;
}
Expand description

Describes how some enum is serialized.

This is generally implemented by the interface of an enum (Enum_Interface for Enum),which also implements InterfaceType).

Associated Types

The intermediate type the NE is converted into,to serialize it.

Required methods

Serializes an enum into its proxy type.

Implementors