Struct serde::ser::impls::SeqIteratorVisitor [] [src]

pub struct SeqIteratorVisitor<Iter> {
    // some fields omitted
}

Methods

impl<T, Iter> SeqIteratorVisitor<Iter> where Iter: Iterator<Item=T>

fn new(iter: Iter, len: Option<usize>) -> SeqIteratorVisitor<Iter>

Trait Implementations

impl<T, Iter> SeqVisitor for SeqIteratorVisitor<Iter> where T: Serialize, Iter: Iterator<Item=T>

fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where S: Serializer

fn len(&self) -> Option<usize>