pub enum PlanSpanError {
UnknownObject(ObjectId),
Unavailable(String),
InvalidMeasurement,
InexactEvidence,
}Expand description
Failure to measure a plan span.
Variants§
UnknownObject(ObjectId)
The service holds no geometry for this object.
The geometry could not be measured, for example an object without a footprint or an overlay that cannot be computed.
InvalidMeasurement
A measurement is non-finite, negative, or its bounds are reversed.
InexactEvidence
An interval was reported as exact, or a point as inexact.
Trait Implementations§
Source§impl Clone for PlanSpanError
impl Clone for PlanSpanError
Source§impl Debug for PlanSpanError
impl Debug for PlanSpanError
Source§impl Display for PlanSpanError
impl Display for PlanSpanError
impl Eq for PlanSpanError
Source§impl Error for PlanSpanError
impl Error for PlanSpanError
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 PlanSpanError
impl PartialEq for PlanSpanError
impl StructuralPartialEq for PlanSpanError
Auto Trait Implementations§
impl Freeze for PlanSpanError
impl RefUnwindSafe for PlanSpanError
impl Send for PlanSpanError
impl Sync for PlanSpanError
impl Unpin for PlanSpanError
impl UnsafeUnpin for PlanSpanError
impl UnwindSafe for PlanSpanError
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