pub enum ShapefileError {
Read(String),
UnsupportedShape(String),
}Expand description
Error type for Shapefile parsing.
Variants§
Read(String)
Failed to read or parse the Shapefile.
UnsupportedShape(String)
Unsupported shape type encountered.
Trait Implementations§
Source§impl Debug for ShapefileError
impl Debug for ShapefileError
Source§impl Display for ShapefileError
impl Display for ShapefileError
Source§impl Error for ShapefileError
impl Error for ShapefileError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ShapefileError
impl RefUnwindSafe for ShapefileError
impl Send for ShapefileError
impl Sync for ShapefileError
impl Unpin for ShapefileError
impl UnsafeUnpin for ShapefileError
impl UnwindSafe for ShapefileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more