pub fn classify_io(error: &Error, origin: PathOrigin) -> Option<RetryCause>Expand description
Classify an IO error, or return None when it is permanent.
None is the default for anything unrecognised. That is the safe
direction: an unclassified failure surfaces immediately as a real error
instead of being retried on a guess.