pub enum GeocodingError {
Forward,
Reverse,
Request(Error),
HeaderConversion(ToStrError),
ParseInt(ParseIntError),
}
Expand description
Errors that can occur during geocoding operations
Variants§
Trait Implementations§
Source§impl Debug for GeocodingError
impl Debug for GeocodingError
Source§impl Display for GeocodingError
impl Display for GeocodingError
Source§impl Error for GeocodingError
impl Error for GeocodingError
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 GeocodingError
impl From<Error> for GeocodingError
Source§impl From<ParseIntError> for GeocodingError
impl From<ParseIntError> for GeocodingError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ToStrError> for GeocodingError
impl From<ToStrError> for GeocodingError
Source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GeocodingError
impl !RefUnwindSafe for GeocodingError
impl Send for GeocodingError
impl Sync for GeocodingError
impl Unpin for GeocodingError
impl !UnwindSafe for GeocodingError
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