Function near_metrics::try_create_int_counter
source · [−]pub fn try_create_int_counter(name: &str, help: &str) -> Result<IntCounter>
Expand description
Attempts to crate an IntCounter
, returning Err
if the registry does not accept the counter
(potentially due to naming conflict).