fn upload_result_state( netdir: &NetDir, time_periods: &[TimePeriodContext], ) -> (State, Option<Problem>)
Determine the State of the publisher based on the upload results from the current time_periods.
State
time_periods