Error Set FileError [src]

Errors

EndOfStream

Reached the end of the file being read.

ReadFailed

Detailed diagnostics are found on the File.Reader struct.

Unimplemented

Indicates the caller should do its own file reading; the callee cannot offer a more efficient implementation.

WriteFailed

See the Writer implementation for detailed diagnostics.

Source

pub const FileError = error{ /// Detailed diagnostics are found on the `File.Reader` struct. ReadFailed, /// See the `Writer` implementation for detailed diagnostics. WriteFailed, /// Reached the end of the file being read. EndOfStream, /// Indicates the caller should do its own file reading; the callee cannot /// offer a more efficient implementation. Unimplemented, }