Trait serde::ser::MapVisitor [] [src]

pub trait MapVisitor {
    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 map if known.

Implementors