Enum geozero::error::GeozeroError
source · pub enum GeozeroError {
Show 17 variants
GeometryIndex,
GeometryFormat,
HttpStatus(u16),
HttpError(String),
Dataset(String),
Feature(String),
Properties(String),
FeatureGeometry(String),
Property(String),
ColumnNotFound,
ColumnType(String, String),
Coord,
Srid(i32),
Geometry(String),
IoError(Error),
MvtError(MvtError),
GdalError(GdalError),
}
Variants§
GeometryIndex
GeometryFormat
HttpStatus(u16)
HttpError(String)
Dataset(String)
Feature(String)
Properties(String)
FeatureGeometry(String)
Property(String)
ColumnNotFound
ColumnType(String, String)
Coord
Srid(i32)
Geometry(String)
IoError(Error)
MvtError(MvtError)
GdalError(GdalError)
Trait Implementations§
source§impl Debug for GeozeroError
impl Debug for GeozeroError
source§impl Display for GeozeroError
impl Display for GeozeroError
source§impl Error for GeozeroError
impl Error for GeozeroError
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()
source§impl From<Error> for GeozeroError
impl From<Error> for GeozeroError
source§impl From<Error> for GeozeroError
impl From<Error> for GeozeroError
source§impl From<Error> for GeozeroError
impl From<Error> for GeozeroError
source§impl From<Error> for GeozeroError
impl From<Error> for GeozeroError
source§impl From<GdalError> for GeozeroError
impl From<GdalError> for GeozeroError
source§impl From<GdalError> for GeozeroError
impl From<GdalError> for GeozeroError
Auto Trait Implementations§
impl Freeze for GeozeroError
impl !RefUnwindSafe for GeozeroError
impl Send for GeozeroError
impl Sync for GeozeroError
impl Unpin for GeozeroError
impl !UnwindSafe for GeozeroError
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more