Enum utiles_core::UtilesCoreError
source · pub enum UtilesCoreError {
Show 13 variants
TileParseError(String),
InvalidTile(String),
InvalidQuadkey(String),
InvalidBbox(String),
InvalidLngLat(String),
InvalidSrtmString(String),
InvalidZoom(String),
InvalidJson(String),
LngLat2WebMercator(String),
Unimplemented(String),
Unknown(String),
Str(String),
SerdeJsonError(Error),
}Expand description
Error type for utiles-core
Variants§
TileParseError(String)
Error for parsing a tile
InvalidTile(String)
Error on invalid tile-quadkey
InvalidQuadkey(String)
Error on invalid tile-quadkey
InvalidBbox(String)
Error for invalid bbox (bounding-box)
InvalidLngLat(String)
Error for invalid LngLat
InvalidSrtmString(String)
Error for invalid SRTM string
InvalidZoom(String)
Error for invalid zoom between 0 and 32
InvalidJson(String)
Error for invalid json
LngLat2WebMercator(String)
Error for when converting from lnglat to web mercator fails
Unimplemented(String)
Error on unimplemented feature
Unknown(String)
Error on unknown error catch all
Str(String)
Error with some string
SerdeJsonError(Error)
Error on serde io error
Trait Implementations§
source§impl Debug for UtilesCoreError
impl Debug for UtilesCoreError
source§impl Display for UtilesCoreError
impl Display for UtilesCoreError
source§impl Error for UtilesCoreError
impl Error for UtilesCoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 UtilesCoreError
impl !RefUnwindSafe for UtilesCoreError
impl Send for UtilesCoreError
impl Sync for UtilesCoreError
impl Unpin for UtilesCoreError
impl !UnwindSafe for UtilesCoreError
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