Enum opentelemetry::trace::TraceError [−][src]
#[non_exhaustive] pub enum TraceError { ExportFailed(Box<dyn ExportError>), ExportTimedOut(Duration), Other(Box<dyn Error + Send + Sync + 'static>), }
This is supported on crate feature
trace
only.Expand description
Errors returned by the trace API.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Export failed with the error returned by the exporter
Tuple Fields of ExportFailed
0: Box<dyn ExportError>
Export failed to finish after certain period and processor stopped the export.
Tuple Fields of ExportTimedOut
0: Duration
Other errors propagated from trace SDK that weren’t covered above
Trait Implementations
Performs the conversion.