Struct rmpv::ext::EnumRefDeserializer
source · [−]pub struct EnumRefDeserializer<'de> { /* private fields */ }Implementations
Trait Implementations
sourceimpl<'de> EnumAccess<'de> for EnumRefDeserializer<'de>
impl<'de> EnumAccess<'de> for EnumRefDeserializer<'de>
type Error = Error
type Error = Error
The error type that can be returned if some error occurs during
deserialization. Read more
type Variant = VariantRefDeserializer<'de>
type Variant = VariantRefDeserializer<'de>
The
Visitor that will be used to deserialize the content of the enum
variant. Read moresourcefn variant_seed<V>(
self,
seed: V
) -> Result<(V::Value, Self::Variant), Self::Error>where
V: DeserializeSeed<'de>,
fn variant_seed<V>(
self,
seed: V
) -> Result<(V::Value, Self::Variant), Self::Error>where
V: DeserializeSeed<'de>,
variant is called to identify which variant to deserialize. Read moreAuto Trait Implementations
impl<'de> RefUnwindSafe for EnumRefDeserializer<'de>
impl<'de> Send for EnumRefDeserializer<'de>
impl<'de> Sync for EnumRefDeserializer<'de>
impl<'de> Unpin for EnumRefDeserializer<'de>
impl<'de> UnwindSafe for EnumRefDeserializer<'de>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more