pub struct Error { /* private fields */ }
The error type for I/O operations of the Read, Write, Seek, and associated traits.
Read
Write
Seek
Errors mostly originate from the underlying OS, but custom instances of Error can be created with crafted error messages and a particular value of ErrorKind.
Error
ErrorKind
Common errors constants for use in std