Enum geojson::Error
[−]
[src]
pub enum Error { BboxExpectedArray, BboxExpectedNumericValues, CrsExpectedObject, CrsUnknownType(String), GeoJsonExpectedObject, GeoJsonUnknownType, GeometryUnknownType, MalformedJson, PropertiesExpectedObjectOrNull, FeatureInvalidGeometryValue, ExpectedStringValue, ExpectedProperty, ExpectedF64Value, ExpectedArrayValue, ExpectedObjectValue, }
Error when reading a GeoJSON object from a str or Object
Variants
BboxExpectedArray
BboxExpectedNumericValues
CrsExpectedObject
CrsUnknownType(String)
GeoJsonExpectedObject
GeoJsonUnknownType
GeometryUnknownType
MalformedJson
PropertiesExpectedObjectOrNull
FeatureInvalidGeometryValue
ExpectedStringValue
ExpectedProperty
ExpectedF64Value
ExpectedArrayValue
ExpectedObjectValue
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.