pub enum PlanAreaError {
UnknownObject(ObjectId),
Unavailable(String),
InvalidMeasurement,
InexactEvidence,
}Expand description
Failure to measure a plan area.
Variants§
UnknownObject(ObjectId)
The service holds no geometry for this object.
The geometry could not be measured, for example a mesh that fails its health audit 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 evidence as inexact, inconsistently.
Trait Implementations§
Source§impl Clone for PlanAreaError
impl Clone for PlanAreaError
Source§impl Debug for PlanAreaError
impl Debug for PlanAreaError
Source§impl Display for PlanAreaError
impl Display for PlanAreaError
impl Eq for PlanAreaError
Source§impl Error for PlanAreaError
impl Error for PlanAreaError
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 PlanAreaError
impl PartialEq for PlanAreaError
impl StructuralPartialEq for PlanAreaError
Auto Trait Implementations§
impl Freeze for PlanAreaError
impl RefUnwindSafe for PlanAreaError
impl Send for PlanAreaError
impl Sync for PlanAreaError
impl Unpin for PlanAreaError
impl UnsafeUnpin for PlanAreaError
impl UnwindSafe for PlanAreaError
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