pub enum Error {
Show 15 variants
NoError,
NonFiniteVertex,
NotManifold,
VertexOutOfBounds,
PropertiesWrongLength,
MissingPositionProperties,
MergeVectorsDifferentLengths,
MergeIndexOutOfBounds,
TransformWrongLength,
RunIndexWrongLength,
FaceIdWrongLength,
InvalidConstruction,
ResultTooLarge,
InvalidTangents,
Cancelled,
}Variants§
NoError
NonFiniteVertex
NotManifold
VertexOutOfBounds
PropertiesWrongLength
MissingPositionProperties
MergeVectorsDifferentLengths
MergeIndexOutOfBounds
TransformWrongLength
RunIndexWrongLength
FaceIdWrongLength
InvalidConstruction
ResultTooLarge
InvalidTangents
Cancelled
The operation was interrupted through a crate::cancel::CancelToken
and returned an empty result.
Appended last, matching C++ Manifold::Error::Cancelled
(cpp-reference/manifold/include/manifold/manifold.h:139). The order of
every preceding variant is load-bearing: the FFI maps them to status
codes 0-13 positionally, so new variants only ever go on the end.
Implementations§
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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