Trait serde::ser::MapVisitor [−][src]
A trait that is used by a Serialize
to iterate through a map.
Required Methods
fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where
S: Serializer,
[−]
S: Serializer,
Serializes a map item in the serializer.
This returns Ok(Some(()))
when there are more items to serialize, or Ok(None)
when
complete.