Enum shapefile::Error [−][src]
pub enum Error { IoError(Error), InvalidFileCode(i32), InvalidShapeType(i32), InvalidPatchType(i32), MismatchShapeType { requested: ShapeType, actual: ShapeType, }, InvalidShapeRecordSize, DbaseError(Error), MissingDbf, MissingIndexFile, }
All Errors that can happen when using this library
Variants
IoError(Error)
Wrapper around standard io::Error that might occur when reading/writing
InvalidFileCode(i32)
The file read had an invalid File code (meaning it’s not a Shapefile)
InvalidShapeType(i32)
The file read had an invalid ShapeType code (either in the file header or any record type)
InvalidPatchType(i32)
The Multipatch shape read from the file had an invalid PatchType code
Error returned when trying to read the shape records as a certain shape type but the actual shape type does not correspond to the one asked
Show fields
DbaseError(Error)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error