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
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
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
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)
Trait Implementations
impl From<FieldConversionError> for ErrorKind
[src]
impl From<FieldConversionError> for ErrorKind
[src]fn from(e: FieldConversionError) -> Self
[src]
impl From<ParseFloatError> for ErrorKind
[src]
impl From<ParseFloatError> for ErrorKind
[src]fn from(p: ParseFloatError) -> Self
[src]
impl From<ParseIntError> for ErrorKind
[src]
impl From<ParseIntError> for ErrorKind
[src]fn from(p: ParseIntError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind