pub enum PointDomainError {
InvalidLatitude,
NonFiniteCoordinate,
InvalidDimension {
srid: i32,
},
}Expand description
Why a coordinate triple is not a storable point.
Variants§
InvalidLatitude
A geographic point’s latitude is outside [-90, 90].
NonFiniteCoordinate
A coordinate is not finite.
InvalidDimension
The coordinate count disagrees with the SRID’s fixed dimension.
Trait Implementations§
Source§impl Clone for PointDomainError
impl Clone for PointDomainError
impl Copy for PointDomainError
Source§impl Debug for PointDomainError
impl Debug for PointDomainError
Source§impl Display for PointDomainError
impl Display for PointDomainError
impl Eq for PointDomainError
Source§impl Error for PointDomainError
impl Error for PointDomainError
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 PointDomainError
impl PartialEq for PointDomainError
impl StructuralPartialEq for PointDomainError
Auto Trait Implementations§
impl Forget for PointDomainError
impl Freeze for PointDomainError
impl Move for PointDomainError
impl RefUnwindSafe for PointDomainError
impl Send for PointDomainError
impl Sync for PointDomainError
impl Unpin for PointDomainError
impl UnsafeUnpin for PointDomainError
impl UnwindSafe for PointDomainError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.