Struct rmp_serde::config::VariantStringConfig [−][src]
pub struct VariantStringConfig<C>(_);
Expand description
Config wrapper, that overrides enum serialization by serializing enum variant names as strings.
Default Serializer
implementation writes enum names as integers, i.e. only indices are encoded,
because it is the most compact representation.
Implementations
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for VariantStringConfig<C> where
C: RefUnwindSafe,
impl<C> Send for VariantStringConfig<C> where
C: Send,
impl<C> Sync for VariantStringConfig<C> where
C: Sync,
impl<C> Unpin for VariantStringConfig<C> where
C: Unpin,
impl<C> UnwindSafe for VariantStringConfig<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more