Skip to main content

transient_or_none

Function transient_or_none 

Source
fn transient_or_none<T>(error: Error) -> Result<Option<T>>
Expand description

The error when a retry may succeed, else None, which skips what failed.

Only an I/O error of a transient kind counts; corruption and decode errors do not.