Struct opentelemetry_http::HeaderInjector[][src]

pub struct HeaderInjector<'a>(pub &'a mut HeaderMap);

Tuple Fields

0: &'a mut HeaderMap

Trait Implementations

Set a key and value in the HeaderMap. Does nothing if the key or value are not valid inputs.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.