Trait serde::de::EnumVisitor
[−]
[src]
pub trait EnumVisitor { type Value; fn visit<V>(&mut self, visitor: V) -> Result<Self::Value, V::Error> where V: VariantVisitor; }
EnumVisitor
is a visitor that is created by the Deserialize
and passed to the
Deserializer
in order to deserialize enums.