pub enum BoundaryCoverageError {
UnknownSpace(ObjectId),
NoBody(ObjectId),
Unavailable(String),
InvalidRequest(String),
Unsupported,
InvalidMeasurement,
}Expand description
Failure to measure a space’s boundary coverage.
Variants§
UnknownSpace(ObjectId)
The service holds no space boundaries for this object: it is not a space the host registered.
NoBody(ObjectId)
The space occupies no volume, so it has no surface to cover.
The space’s body or one of its boundary surfaces could not be measured, for example a surface the host could not read, a curved body or an overlay that cannot be computed.
InvalidRequest(String)
The request is malformed.
Unsupported
The service does not measure boundary coverage.
InvalidMeasurement
The answer is malformed, inconsistent or bound to another request.
Trait Implementations§
Source§impl Clone for BoundaryCoverageError
impl Clone for BoundaryCoverageError
Source§impl Debug for BoundaryCoverageError
impl Debug for BoundaryCoverageError
Source§impl Display for BoundaryCoverageError
impl Display for BoundaryCoverageError
impl Eq for BoundaryCoverageError
Source§impl Error for BoundaryCoverageError
impl Error for BoundaryCoverageError
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 BoundaryCoverageError
impl PartialEq for BoundaryCoverageError
impl StructuralPartialEq for BoundaryCoverageError
Auto Trait Implementations§
impl Freeze for BoundaryCoverageError
impl RefUnwindSafe for BoundaryCoverageError
impl Send for BoundaryCoverageError
impl Sync for BoundaryCoverageError
impl Unpin for BoundaryCoverageError
impl UnsafeUnpin for BoundaryCoverageError
impl UnwindSafe for BoundaryCoverageError
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