pub enum DodecetError {
Overflow,
InvalidHex,
InvalidNibble,
InvalidGeometry,
InvalidLength,
}Expand description
Error type for dodecet operations
Variants§
Overflow
Value exceeds 12-bit capacity
InvalidHex
Invalid hex string
InvalidNibble
Invalid nibble index
InvalidGeometry
Invalid geometric operation
InvalidLength
Invalid array length for SIMD operation
Trait Implementations§
Source§impl Clone for DodecetError
impl Clone for DodecetError
Source§fn clone(&self) -> DodecetError
fn clone(&self) -> DodecetError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DodecetError
impl Debug for DodecetError
Source§impl Display for DodecetError
impl Display for DodecetError
Source§impl Error for DodecetError
impl Error for DodecetError
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 DodecetError
impl PartialEq for DodecetError
Source§fn eq(&self, other: &DodecetError) -> bool
fn eq(&self, other: &DodecetError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DodecetError
impl Eq for DodecetError
impl StructuralPartialEq for DodecetError
Auto Trait Implementations§
impl Freeze for DodecetError
impl RefUnwindSafe for DodecetError
impl Send for DodecetError
impl Sync for DodecetError
impl Unpin for DodecetError
impl UnsafeUnpin for DodecetError
impl UnwindSafe for DodecetError
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