Enum geojson::Error [−][src]
pub enum Error { BboxExpectedArray, BboxExpectedNumericValues, 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
GeoJsonExpectedObject
GeoJsonUnknownType
GeometryUnknownType
MalformedJson
PropertiesExpectedObjectOrNull
FeatureInvalidGeometryValue
ExpectedStringValue
ExpectedProperty
ExpectedF64Value
ExpectedArrayValue
ExpectedObjectValue
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Error
[src]
impl Eq for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error