Enum dbase::FieldConversionError [−][src]
pub enum FieldConversionError {
FieldTypeNotAsExpected {
expected: FieldType,
actual: FieldType,
},
IncompatibleType,
NoneValue,
}
Expand description
Errors that can happen when trying to convert a FieldValue into a more concrete type
Variants
Happens when the conversion could not be mode because the FieldType does not mat the expected one
Fields of FieldTypeNotAsExpected
The value written is the file was only pad bytes / uninitialized and the user tried to convert it into a non Option-Type
Trait Implementations
Performs the conversion.