#[non_exhaustive]pub enum ErrorKind {
Show 15 variants
    IoError(Error),
    ParseFloatError(ParseFloatError),
    ParseIntError(ParseIntError),
    InvalidFieldType(char),
    MissingMemoFile,
    ErrorOpeningMemoFile(Error),
    BadConversion(FieldConversionError),
    EndOfRecord,
    NotEnoughFields,
    TooManyFields,
    IncompatibleType,
    UnsupportedCodePage(CodePageMark),
    StringDecodeError(DecodeError),
    StringEncodeError(EncodeError),
    Message(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IoError(Error)
Wrapper of std::io::Error to forward any reading/writing error
ParseFloatError(ParseFloatError)
Wrapper to forward errors whe trying to parse a float from the file
ParseIntError(ParseIntError)
Wrapper to forward errors whe trying to parse an integer value from the file
InvalidFieldType(char)
The Field as an invalid FieldType
MissingMemoFile
Happens when at least one field is a Memo type and the that additional memo file could not be found / was not given
ErrorOpeningMemoFile(Error)
Something went wrong when we tried to open the associated memo file
BadConversion(FieldConversionError)
The conversion from a FieldValue to another type could not be made
EndOfRecord
End of the record, there are no more fields
NotEnoughFields
Not all the fields declared to the writer were given
TooManyFields
More fields than expected were given to the writer
IncompatibleType
The type of the value for the field is not compatible with the dbase field’s type
UnsupportedCodePage(CodePageMark)
The Code Page is not supported
StringDecodeError(DecodeError)
A string from the database could not be decoded
StringEncodeError(EncodeError)
A string from the database could not be encoded