pub enum TriangleCountError {
UnknownObject(ObjectId),
Unavailable(String),
InvalidMeasurement,
}Expand description
Failure to count an object’s triangles.
Variants§
UnknownObject(ObjectId)
The service holds no geometry for this object.
The object has a body the host could not mesh, or a mesh that cannot be read.
InvalidMeasurement
The count names another object, or its evidence is not reviewable.
Trait Implementations§
Source§impl Clone for TriangleCountError
impl Clone for TriangleCountError
Source§impl Debug for TriangleCountError
impl Debug for TriangleCountError
Source§impl Display for TriangleCountError
impl Display for TriangleCountError
impl Eq for TriangleCountError
Source§impl Error for TriangleCountError
impl Error for TriangleCountError
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 TriangleCountError
impl PartialEq for TriangleCountError
impl StructuralPartialEq for TriangleCountError
Auto Trait Implementations§
impl Freeze for TriangleCountError
impl RefUnwindSafe for TriangleCountError
impl Send for TriangleCountError
impl Sync for TriangleCountError
impl Unpin for TriangleCountError
impl UnsafeUnpin for TriangleCountError
impl UnwindSafe for TriangleCountError
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