pub fn adding(&self) -> bool {
        matches!(
            self,
            InstrumentKind::Counter
                | InstrumentKind::UpDownCounter
                | InstrumentKind::SumObserver
                | InstrumentKind::UpDownSumObserver
        )
    }
/// Whether this kind of instrument adds its inputs (as opposed to grouping).
Whether this kind of instrument adds its inputs (as opposed to grouping).
Whether this kind of instrument adds its inputs ( as opposed to grouping ) .
pub fn adding(&self) -> bool {
        matches!(
            self,
            InstrumentKind::Counter
                | InstrumentKind::UpDownCounter
                | InstrumentKind::SumObserver
                | InstrumentKind::UpDownSumObserver
        )
    }
pub fn adding ( & self ) -> bool { matches ! ( self InstrumentKind Counter InstrumentKind UpDownCounter InstrumentKind SumObserver InstrumentKind UpDownSumObserver ) }
Whether this kind of instrument adds its inputs (as opposed to grouping).
Whether this kind of instrument adds its inputs ( as opposed to grouping ) .
&self
&self