// TODO: in the future this could be slightly optimised to get rid of the channel
// in favour of incrementing value directly
in the future this could be slightly optimised to get rid of the channel
in favour of incrementing value directly
in the future this could be slightly optimised to get rid of the channel in favour of incrementing value directly
pub(crate) fn report_received(&self) {
        // in unbounded_send() failed it means that the receiver channel was disconnected
        // and hence something weird must have happened without a way of recovering
        self.metrics_tx
            .unbounded_send(MetricEvent::Received)
            .unwrap()
    }
pub ( crate ) fn report_received ( & self ) { // in unbounded_send() failed it means that the receiver channel was disconnected // and hence something weird must have happened without a way of recovering self . metrics_tx . unbounded_send ( MetricEvent :: Received ) . unwrap ( ) }
TODO: in the future this could be slightly optimised to get rid of the channel
in favour of incrementing value directly
TODO : in the future this could be slightly optimised to get rid of the channel in favour of incrementing value directly
&self