iter_flat

Function iter_flat 

Source
pub fn iter_flat(
    headers: &HashMap<String, Vec<String>>,
) -> impl Iterator<Item = (&str, &str)>
Expand description

Iterate over headers yielding (name, value) pairs without allocation.

This is the most efficient way to convert headers to gRPC format.