pub enum GeoError {
InvalidArgument(String),
Source(String),
Io(Error),
}Expand description
Error type for geospatial domain validation and local data access.
Variants§
InvalidArgument(String)
Caller supplied invalid geospatial input.
Source(String)
Source data could not be parsed or read as valid geospatial input.
Io(Error)
Underlying filesystem I/O failed.
Implementations§
Trait Implementations§
Source§impl Error for GeoError
impl Error for GeoError
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 !RefUnwindSafe for GeoError
impl !UnwindSafe for GeoError
impl Freeze for GeoError
impl Send for GeoError
impl Sync for GeoError
impl Unpin for GeoError
impl UnsafeUnpin for GeoError
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