pub enum WalkingSurfaceError {
UnknownObject(ObjectId),
Unavailable(String),
Unsupported(String),
InexactGeometry(String),
InvalidMeasurement,
InexactEvidence,
}Expand description
Failure to measure a stair flight, a ramp or headroom.
Variants§
UnknownObject(ObjectId)
The service holds no geometry for this object.
The geometry could not be measured: a bodiless object, a body the host could not mesh, or a mesh that cannot be read.
Unsupported(String)
The body is not a shape this service can decide, such as a winder, a flight in several pieces or a warped ramp. Never a verdict.
InexactGeometry(String)
A tessellation of curved faces could change the answer, so the service refuses rather than report an estimate as a measurement.
InvalidMeasurement
Positions are unordered, a direction is not horizontal, or the measurement names another object or request.
InexactEvidence
Evidence reported as exact for intervals, or as inexact for points.
Trait Implementations§
Source§impl Clone for WalkingSurfaceError
impl Clone for WalkingSurfaceError
Source§impl Debug for WalkingSurfaceError
impl Debug for WalkingSurfaceError
Source§impl Display for WalkingSurfaceError
impl Display for WalkingSurfaceError
impl Eq for WalkingSurfaceError
Source§impl Error for WalkingSurfaceError
impl Error for WalkingSurfaceError
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 WalkingSurfaceError
impl PartialEq for WalkingSurfaceError
impl StructuralPartialEq for WalkingSurfaceError
Auto Trait Implementations§
impl Freeze for WalkingSurfaceError
impl RefUnwindSafe for WalkingSurfaceError
impl Send for WalkingSurfaceError
impl Sync for WalkingSurfaceError
impl Unpin for WalkingSurfaceError
impl UnsafeUnpin for WalkingSurfaceError
impl UnwindSafe for WalkingSurfaceError
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