Skip to main content

classify_outcomes

Function classify_outcomes 

Source
pub fn classify_outcomes(results: &[Result<(), String>]) -> AutoSyncOutcome
Expand description

Classify per-surface push results into one AutoSyncOutcome. A 402 anywhere wins (the account is gated); otherwise total failure means the network is down; anything else counts as synced.