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()
Source§impl From<ArrowError> for GpkgError
Available on crate feature arrow only.
impl From<ArrowError> for GpkgError
Available on crate feature
arrow only.Source§fn from(value: ArrowError) -> Self
fn from(value: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<GpkgError> for ArrowError
Available on crate feature arrow only.
impl From<GpkgError> for ArrowError
Available on crate feature
arrow only.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