pub enum UtilesCoreError {
Show 15 variants
AdHoc(String),
TileParseError(String),
ParseError(String),
InvalidTile(String),
InvalidQuadkey(String),
InvalidBbox(String),
InvalidLngLat(String),
InvalidSrtmString(String),
InvalidZoom(String),
InvalidProjection(String),
InvalidJson(String),
LngLat2WebMercator(String),
Unimplemented(String),
SerdeJsonError(Error),
TryFromIntError(TryFromIntError),
}
Expand description
Error type for utiles-core
Variants§
AdHoc(String)
Error with some string
TileParseError(String)
Error for parsing a tile
ParseError(String)
Error for general parsing
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
InvalidProjection(String)
Error for invalid projection
InvalidJson(String)
Error for invalid json
LngLat2WebMercator(String)
Error for when converting from lnglat to web mercator fails
Unimplemented(String)
Error on unimplemented feature
SerdeJsonError(Error)
Error on serde io error
TryFromIntError(TryFromIntError)
Try from int
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)>
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<Error> for UtilesCoreError
impl From<Error> for UtilesCoreError
Source§impl From<TryFromIntError> for UtilesCoreError
impl From<TryFromIntError> for UtilesCoreError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
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