pub enum GeocoderError {
Io(Error),
Json(Error),
Fst(Error),
Geohash(GeohashError),
InvalidIndex(&'static str),
UnknownProfile,
ProfileVersion {
profile: String,
index: u32,
code: u32,
},
}Variants§
Io(Error)
Json(Error)
Fst(Error)
Geohash(GeohashError)
InvalidIndex(&'static str)
UnknownProfile
ProfileVersion
Trait Implementations§
Source§impl Debug for GeocoderError
impl Debug for GeocoderError
Source§impl Display for GeocoderError
impl Display for GeocoderError
Source§impl Error for GeocoderError
impl Error for GeocoderError
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 GeocoderError
impl From<Error> for GeocoderError
Source§impl From<Error> for GeocoderError
impl From<Error> for GeocoderError
Source§impl From<Error> for GeocoderError
impl From<Error> for GeocoderError
Source§impl From<GeohashError> for GeocoderError
impl From<GeohashError> for GeocoderError
Source§fn from(source: GeohashError) -> Self
fn from(source: GeohashError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GeocoderError
impl !UnwindSafe for GeocoderError
impl Forget for GeocoderError
impl Freeze for GeocoderError
impl Move for GeocoderError
impl Send for GeocoderError
impl Sync for GeocoderError
impl Unpin for GeocoderError
impl UnsafeUnpin for GeocoderError
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