Function preserves::error::is_syntax_io_error

source ยท
pub fn is_syntax_io_error(e: &Error) -> bool
Expand description

True iff e is an io::ErrorKind::InvalidData (a syntax error)