pub fn is_binary(err: &Error) -> boolExpand description
Whether the error peels as binary/NUL content (EditErrorKind::Binary).
Distinct from is_invalid_input (argument mistakes) and
is_invalid_encoding (non-UTF-8 text without NUL). Hosts that recover
overwrite of non-text priors should branch on this (or is_invalid_encoding)
rather than all of InvalidInput (#1963).