[−][src]Trait abi_stable::nonexhaustive_enum::traits::DeserializeEnum
Describes how a nonexhaustive enum is deserialized.
Generally this delegates to a library function,
so that the implementation can be delegated
to the implementation crate
.
This is generally implemented by the interface of an enum (Enum_Interface,that implement InterfaceType).
Associated Types
type Proxy
The intermediate type the NE
is converted from,to deserialize it.
Required methods
fn deserialize_enum(s: Self::Proxy) -> Result<NE, RBoxError>
Deserializes an enum from its proxy type.