#[non_exhaustive]pub enum NewCaptError {
TooManyPoints,
NonFinite,
}Expand description
The errors which can occur when calling Capt::try_new.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooManyPoints
There were too many points in the provided cloud to be represented without integer overflow.
NonFinite
At least one of the points had a non-finite value.
Trait Implementations§
Source§impl Clone for NewCaptError
impl Clone for NewCaptError
Source§fn clone(&self) -> NewCaptError
fn clone(&self) -> NewCaptError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewCaptError
impl Debug for NewCaptError
Source§impl PartialEq for NewCaptError
impl PartialEq for NewCaptError
impl Eq for NewCaptError
impl StructuralPartialEq for NewCaptError
Auto Trait Implementations§
impl Freeze for NewCaptError
impl RefUnwindSafe for NewCaptError
impl Send for NewCaptError
impl Sync for NewCaptError
impl Unpin for NewCaptError
impl UnwindSafe for NewCaptError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)