opentelemetry_sdk::metrics

Type Alias MetricResult

source
pub type MetricResult<T> = Result<T, MetricError>;
Expand description

A specialized Result type for metric operations.

Aliased Type§

enum MetricResult<T> {
    Ok(T),
    Err(MetricError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(MetricError)

Contains the error value