Skip to main content

hop_outcome

Function hop_outcome 

Source
fn hop_outcome<T>(what: &str, outcome: Result<T, RecvTimeoutError>) -> Option<T>
Expand description

Interpret the hop’s answer: the value if the main thread sent one, else a warning and None. Split out so the give-up arm — which no test can provoke through a live runtime — is still exercised directly.