Skip to main content

set_baggage

Function set_baggage 

Source
pub fn set_baggage(key: &str, value: &str) -> bool
Expand description

Add key=value to the current request’s baggage, so outbound calls made from here on carry it (and spans started from here on share it). Returns false outside a traced request or for a key that isn’t a token.