Function serialize_iterative

Source
pub fn serialize_iterative<'mem, 'facet, 'shape, S>(
    peek: Peek<'mem, 'facet, 'shape>,
    serializer: &mut S,
) -> Result<(), S::Error>
where S: Serializer<'shape>,
Expand description

Serializes a Peek value using the provided Serializer.

This function uses an iterative approach with a stack to avoid recursion depth limits.