Type Alias opentelemetry_api::metrics::Result

source ·
pub type Result<T> = Result<T, MetricsError>;
Expand description

A specialized Result type for metric operations.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(MetricsError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(MetricsError)

Contains the error value