Enum geoserde::SerializeError
source · pub enum SerializeError<E> {
SouceCaused(String),
SinkCaused(E),
NoGeometryField,
InvalidFeatureStructure,
InvalidGeometryStructure {
expected: Option<&'static str>,
actual: &'static str,
},
UnsupportedPropertyStructure {
actual: &'static str,
},
InvalidState,
}
Expand description
The error in selialization by FeatureSerializer, GeometrySerializer and PropertySerializer.
Variants§
SouceCaused(String)
SinkCaused(E)
NoGeometryField
InvalidFeatureStructure
InvalidGeometryStructure
UnsupportedPropertyStructure
InvalidState
Trait Implementations§
source§impl<E: Debug> Debug for SerializeError<E>
impl<E: Debug> Debug for SerializeError<E>
source§impl<E: Display> Display for SerializeError<E>
impl<E: Display> Display for SerializeError<E>
source§impl<E: Error> Error for SerializeError<E>
impl<E: Error> Error for SerializeError<E>
source§impl<E: Error> Error for SerializeError<E>
impl<E: Error> Error for SerializeError<E>
1.30.0 · 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<E: PartialEq> PartialEq for SerializeError<E>
impl<E: PartialEq> PartialEq for SerializeError<E>
source§fn eq(&self, other: &SerializeError<E>) -> bool
fn eq(&self, other: &SerializeError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E> StructuralPartialEq for SerializeError<E>
Auto Trait Implementations§
impl<E> Freeze for SerializeError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SerializeError<E>where
E: RefUnwindSafe,
impl<E> Send for SerializeError<E>where
E: Send,
impl<E> Sync for SerializeError<E>where
E: Sync,
impl<E> Unpin for SerializeError<E>where
E: Unpin,
impl<E> UnwindSafe for SerializeError<E>where
E: UnwindSafe,
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