[−][src]Trait opentelemetry::api::propagation::Carrier
Carriers provide an interface for adding and removing fields from an
underlying struct like HashMap
.
Required methods
fn get(&self, key: &'static str) -> Option<&str>
Get a value for a key from the underlying data.
fn set(&mut self, key: &'static str, value: String)
Add a key and value to the underlying.
Implementations on Foreign Types
impl<S: BuildHasher> Carrier for HashMap<&'static str, String, S>
[src]
fn get(&self, key: &'static str) -> Option<&str>
[src]
Get a value for a key from the HashMap.
fn set(&mut self, key: &'static str, value: String)
[src]
Set a key and value in the HashMap.