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.

Associated Types

The value produced by this visitor.

Required Methods

Visit the specific variant with the VariantVisitor.

Implementors