Skip to main content

read_str_map_to_hashmap

Function read_str_map_to_hashmap 

Source
pub fn read_str_map_to_hashmap<T: DeserializableTraceData>(
    buf: &mut Buffer<T>,
) -> Result<HashMap<T::Text, T::Text>, DecodeError>
where T::Text: Hash + Eq,
Expand description

Read a hashmap of (string, string) from the slices buf. Used for SpanLink/SpanEvent attributes which remain as HashMap.