Expand description
Error types and various operations on them.
Structs§
- Buffer
Overflow - Error indicating that provided buffer was too small
Enums§
- BufError
- Error that might occur when interacting with buf reader.
- Chain
Error - Error returned when chained readers fail. It allows inspecting which reader failed, keeping it’s own error type. For simplicity it can be also merged, if the two errors are convertible to resulting error.
- Extend
Error - Error that might occur when doing operation on
ExtendFromReader
- IOError
- Specifies an error that happened during I/O operation. This enables one to compose read and write errors into single type.
- Intr
Error - This error type indicates that operation might fail in restartible manner. The most obvious
case is
EINTR
returned from syscalls when a signal is delivered while doingread
. - Read
Exact Error - Error that might occur when reading exact amount of bytes.
Traits§
- Into
Intr Error - Trait for custom error types that can also represent interruption.