☰
Result
Result
In prometheus
Modules
core
local
proto
Macros
histogram_opts
labels
opts
register_counter
register_counter_vec
register_counter_vec_with_registry
register_counter_with_registry
register_gauge
register_gauge_vec
register_gauge_vec_with_registry
register_gauge_with_registry
register_histogram
register_histogram_vec
register_histogram_vec_with_registry
register_histogram_with_registry
register_int_counter
register_int_counter_vec
register_int_counter_vec_with_registry
register_int_counter_with_registry
register_int_gauge
register_int_gauge_vec
register_int_gauge_vec_with_registry
register_int_gauge_with_registry
Structs
Histogram
HistogramOpts
HistogramTimer
Opts
Registry
TextEncoder
Enums
Error
Constants
DEFAULT_BUCKETS
TEXT_FORMAT
Traits
Encoder
Functions
default_registry
exponential_buckets
gather
linear_buckets
register
unregister
Type Definitions
Counter
CounterVec
Gauge
GaugeVec
HistogramVec
IntCounter
IntCounterVec
IntGauge
IntGaugeVec
Result
?
Type Definition
prometheus
::
Result
source
·
[
−
]
pub type Result<T> =
Result
<T,
Error
>;
Expand description
A specialized Result type for prometheus.