pub enum CubeError {
InvalidValue {
value: u8,
position: usize,
},
}Expand description
Errors related to cube validation
These errors occur when invalid cube values are provided during cover creation.
Variants§
InvalidValue
Invalid cube value encountered
Cube input values must be 0 (low), 1 (high), or 2 (don’t care).
Trait Implementations§
Source§impl Error for CubeError
impl Error for CubeError
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 From<CubeError> for MinimizationError
impl From<CubeError> for MinimizationError
impl Eq for CubeError
impl StructuralPartialEq for CubeError
Auto Trait Implementations§
impl Freeze for CubeError
impl RefUnwindSafe for CubeError
impl Send for CubeError
impl Sync for CubeError
impl Unpin for CubeError
impl UnwindSafe for CubeError
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