pub enum ObjectFrameError {
UncoveredSource(SourceId),
UnknownObject(ObjectId),
NotPlaced(ObjectId),
Unsupported(String),
Unreadable(String),
InvalidFrame,
InexactEvidence,
ResponseRequestMismatch,
}Expand description
Failure to supply an object’s frame.
Variants§
UncoveredSource(SourceId)
The service does not cover the object’s source.
UnknownObject(ObjectId)
The object is not part of the source.
NotPlaced(ObjectId)
The source states no placement for the object, so it has no frame. Never read as the source’s origin.
Unsupported(String)
The object is placed by a construct the service cannot resolve exactly.
Unreadable(String)
The placement, or the unit it is stated in, is malformed or cannot be read exactly.
InvalidFrame
The frame is not grounded on the object, or its axes are not a right-handed orthonormal triple.
InexactEvidence
The frame’s evidence is not exact, not reviewable, or from another source.
ResponseRequestMismatch
The service answered for another object.
Trait Implementations§
Source§impl Clone for ObjectFrameError
impl Clone for ObjectFrameError
Source§impl Debug for ObjectFrameError
impl Debug for ObjectFrameError
Source§impl Display for ObjectFrameError
impl Display for ObjectFrameError
impl Eq for ObjectFrameError
Source§impl Error for ObjectFrameError
impl Error for ObjectFrameError
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 ObjectFrameError
impl PartialEq for ObjectFrameError
impl StructuralPartialEq for ObjectFrameError
Auto Trait Implementations§
impl Freeze for ObjectFrameError
impl RefUnwindSafe for ObjectFrameError
impl Send for ObjectFrameError
impl Sync for ObjectFrameError
impl Unpin for ObjectFrameError
impl UnsafeUnpin for ObjectFrameError
impl UnwindSafe for ObjectFrameError
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