Skip to main content

record_traffic

Function record_traffic 

Source
pub fn record_traffic(
    paths: &AppPaths,
    traffic: &PollTraffic,
) -> Result<(), ServiceError>
Expand description

Write the measurement.

ยงErrors

ServiceError::Record when state/ cannot be written.