#[non_exhaustive]pub enum PointQueryError {
NonFiniteQuery,
InvalidRadius,
}Expand description
Why a query could not be answered.
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.
Trait Implementations§
Source§impl Clone for PointQueryError
impl Clone for PointQueryError
impl Copy for PointQueryError
Source§impl Debug for PointQueryError
impl Debug for PointQueryError
Source§impl Display for PointQueryError
impl Display for PointQueryError
impl Eq for PointQueryError
Source§impl Error for PointQueryError
impl Error for PointQueryError
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 PointQueryError
impl PartialEq for PointQueryError
impl StructuralPartialEq for PointQueryError
Auto Trait Implementations§
impl Freeze for PointQueryError
impl RefUnwindSafe for PointQueryError
impl Send for PointQueryError
impl Sync for PointQueryError
impl Unpin for PointQueryError
impl UnsafeUnpin for PointQueryError
impl UnwindSafe for PointQueryError
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