Trait serde::ser::SeqVisitor [] [src]

pub trait SeqVisitor {
    fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where S: Serializer;

    fn len(&self) -> Option<usize> { ... }
}

Required Methods

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

Provided Methods

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

Return the length of the sequence if known.

Implementors