pub enum GpkgError {
Sql(Error),
Wkb(WkbError),
UnsupportedGeometryType(String),
InvalidDimension {
z: i8,
m: i8,
},
InvalidPropertyCount {
expected: usize,
got: usize,
},
InvalidGpkgGeometryFlags(u8),
ReadOnly,
Message(String),
}Expand description
Crate error type for GeoPackage operations.
Variants§
Sql(Error)
Wkb(WkbError)
UnsupportedGeometryType(String)
InvalidDimension
InvalidPropertyCount
InvalidGpkgGeometryFlags(u8)
ReadOnly
Message(String)
Trait Implementations§
Source§impl Error for GpkgError
impl Error for GpkgError
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 GpkgError
impl !RefUnwindSafe for GpkgError
impl Send for GpkgError
impl Sync for GpkgError
impl Unpin for GpkgError
impl !UnwindSafe for GpkgError
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