[−][src]Trait opentelemetry::propagation::Injector
Injector provides an interface for adding fields from an underlying struct like HashMap
Required methods
Loading content...Implementations on Foreign Types
impl<S: BuildHasher> Injector for HashMap<String, String, S>
[src]
impl Injector for HeaderMap
[src]
This is supported on crate feature
http
only.pub fn set(&mut self, key: &str, value: String)
[src]
Set a key and value in the HeaderMap. Does nothing if the key or value are not valid inputs.
impl Injector for MetadataMap
[src]
This is supported on crate feature
tonic
only.pub fn set(&mut self, key: &str, value: String)
[src]
Set a key and value in the MetadataMap. Does nothing if the key or value are not valid inputs