(("function" == type(tgt.
-> Result<LabeledIntCounterVec> { match value { Value::UserData(ud) => Ok(ud.borrow::<Self>()?.clone()), _ => unreachable!(), } } map.insert(name.to_owned(), Value::Array(metrics)); } let globals = globals .write() .map(|mut l| l.0.push(value.0)) .inspect_err(|e| tracing::error!("Unable to lock GlobalMap for.