pub fn record_traffic( paths: &AppPaths, traffic: &PollTraffic, ) -> Result<(), ServiceError>
Write the measurement.
ServiceError::Record when state/ cannot be written.
ServiceError::Record
state/