serialize_iterative

Function serialize_iterative 

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

Serializes a Peek value using the provided Serializer.

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