#[non_exhaustive]pub enum SpatialAuthoringError {
Invalid {
entity: &'static str,
attribute: &'static str,
value: String,
},
}Expand description
Why a spatial record was refused.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invalid
A value the schema constrains was not acceptable.
Trait Implementations§
Source§impl Clone for SpatialAuthoringError
impl Clone for SpatialAuthoringError
Source§impl Debug for SpatialAuthoringError
impl Debug for SpatialAuthoringError
Source§impl Display for SpatialAuthoringError
impl Display for SpatialAuthoringError
impl Eq for SpatialAuthoringError
Source§impl Error for SpatialAuthoringError
impl Error for SpatialAuthoringError
1.30.0 · 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 PartialEq for SpatialAuthoringError
impl PartialEq for SpatialAuthoringError
impl StructuralPartialEq for SpatialAuthoringError
Auto Trait Implementations§
impl Freeze for SpatialAuthoringError
impl RefUnwindSafe for SpatialAuthoringError
impl Send for SpatialAuthoringError
impl Sync for SpatialAuthoringError
impl Unpin for SpatialAuthoringError
impl UnsafeUnpin for SpatialAuthoringError
impl UnwindSafe for SpatialAuthoringError
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