Module error

Source
Expand description

Error type definitions.

Structsยง

IoError
The error type for I/O operations of the Read, Write, Seek, and associated traits.

Enumsยง

Error
An error that may happen while reading or writing an exr file. Distinguishes between three types of errors: unsupported features, invalid data, and file system errors.

Functionsยง

i32_to_usize ๐Ÿ”’
Return error on invalid range.
u32_to_usize ๐Ÿ”’
Panic on overflow.
u64_to_usize ๐Ÿ”’
Panic on overflow.
usize_to_i32 ๐Ÿ”’
Panic on overflow.
usize_to_u16 ๐Ÿ”’
Return error on invalid range.
usize_to_u64 ๐Ÿ”’
Panic on overflow.

Type Aliasesยง

IoResult
A specialized Result type for I/O operations.
Result
A result that may contain an exr error.
UnitResult
A result that, if ok, contains nothing, and otherwise contains an exr error.