Enum dbase::ErrorKind [−][src]
pub enum ErrorKind {
IoError(Error),
ParseFloatError(ParseFloatError),
ParseIntError(ParseIntError),
InvalidFieldType(char),
MissingMemoFile,
ErrorOpeningMemoFile(Error),
BadConversion(FieldConversionError),
EndOfRecord,
NotEnoughFields,
TooManyFields,
IncompatibleType,
Message(String),
}
Variants
IoError(Error)
Wrapper of std::io::Error
to forward any reading/writing error
Tuple Fields of IoError
0: Error
ParseFloatError(ParseFloatError)
Wrapper to forward errors whe trying to parse a float from the file
Tuple Fields of ParseFloatError
ParseIntError(ParseIntError)
Wrapper to forward errors whe trying to parse an integer value from the file
Tuple Fields of ParseIntError
InvalidFieldType(char)
The Field as an invalid FieldType
Tuple Fields of InvalidFieldType
0: char
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
Tuple Fields of ErrorOpeningMemoFile
0: Error
BadConversion(FieldConversionError)
The conversion from a FieldValue to another type could not be made
Tuple Fields of BadConversion
End of the record, there are no more fields
Not all the fields declared to the writer were given
More fields than expected were given to the writer
The type of the value for the field is not compatible with the dbase field’s type
Message(String)
Tuple Fields of Message
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.