pub(crate) fn with_new_attrs(&self, new_kvs: impl IntoIterator<Item = KeyValue>) -> Self {
        let mut r = self.clone();
        r.add_new_attrs(new_kvs);
        r
    }
/// Extend an existing metrics context with new attributes, returning a new one
Extend an existing metrics context with new attributes, returning a new one
Extend an existing metrics context with new attributes returning a new one
pub(crate) fn with_new_attrs(&self, new_kvs: impl IntoIterator<Item = KeyValue>) -> Self {
        let mut r = self.clone();
        r.add_new_attrs(new_kvs);
        r
    }
pub ( crate ) fn with_new_attrs ( & self , new_kvs : impl IntoIterator < Item = KeyValue > ) -> Self { let mut r = self . clone ( ) ; r . add_new_attrs ( new_kvs ) ; r }
Extend an existing metrics context with new attributes, returning a new one
Extend an existing metrics context with new attributes returning a new one
&self
new_kvs
impl IntoIterator<Item = KeyValue>
&self
new_kvs
impl IntoIterator<Item = KeyValue>