Struct serde::de::value::SeqDeserializer [] [src]

pub struct SeqDeserializer<I> {
    // some fields omitted
}

Methods

impl<I> SeqDeserializer<I>

fn new(iter: I, len: usize) -> Self

Trait Implementations

impl<I, T> Deserializer for SeqDeserializer<I> where I: Iterator<Item=T>, T: ValueDeserializer

type Error = Error

fn visit<V>(&mut self, visitor: V) -> Result<V::Value, Error> where V: Visitor

fn visit_option<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_seq<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_map<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_named_unit<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_named_seq<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_named_map<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

fn visit_enum<V>(&mut self, _enum: &str, _visitor: V) -> Result<V::Value, Self::Error> where V: EnumVisitor

fn visit_bytes<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitor

impl<I, T> SeqVisitor for SeqDeserializer<I> where I: Iterator<Item=T>, T: ValueDeserializer

type Error = Error

fn visit<V>(&mut self) -> Result<Option<V>, Error> where V: Deserialize

fn end(&mut self) -> Result<(), Error>

fn size_hint(&self) -> (usize, Option<usize>)