opentelemetry::trace

Type Alias TraceResult

source
pub type TraceResult<T> = Result<T, TraceError>;
Expand description

Describe the result of operations in tracing API.

Aliased Type§

enum TraceResult<T> {
    Ok(T),
    Err(TraceError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TraceError)

Contains the error value