You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: the trait bound `XrayPropagator: TextMapPropagator` is not satisfied
--> src/main.rs:38:37
|
38 | global::set_text_map_propagator(XrayPropagator::default());
| ------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TextMapPropagator` is not implemented for `XrayPropagator`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `TextMapPropagator`:
TextMapCompositePropagator
NoopTextMapPropagator
BaggagePropagator
TraceContextPropagator
note: required by a bound in `set_text_map_propagator`
--> /Users/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.23.0/src/global/propagation.rs:15:35
|
15 | pub fn set_text_map_propagator<P: TextMapPropagator + Send + Sync + 'static>(propagator: P) {
| ^^^^^^^^^^^^^^^^^ required by this bound in `set_text_map_propagator`
What happened?
Quickstart code yields the following error messages:
Using these versions in
Cargo.toml
:API Version
0.23.0
SDK Version
0.23.0
What component are you working with?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: