pub enum TestMatrixError {
InvalidDimension {
param: String,
value: usize,
},
InvalidDensity {
density: String,
},
ConstructionError {
description: String,
},
}Expand description
Error type for test matrix generation.
Variants§
InvalidDimension
Invalid dimensions (zero or too large).
InvalidDensity
Density out of valid range [0, 1].
ConstructionError
Matrix construction failed internally.
Trait Implementations§
Source§impl Clone for TestMatrixError
impl Clone for TestMatrixError
Source§fn clone(&self) -> TestMatrixError
fn clone(&self) -> TestMatrixError
Returns a duplicate of the value. Read more
1.0.0 · 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 TestMatrixError
impl Debug for TestMatrixError
Source§impl Display for TestMatrixError
impl Display for TestMatrixError
Source§impl Error for TestMatrixError
impl Error for TestMatrixError
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 TestMatrixError
impl PartialEq for TestMatrixError
impl Eq for TestMatrixError
impl StructuralPartialEq for TestMatrixError
Auto Trait Implementations§
impl Freeze for TestMatrixError
impl RefUnwindSafe for TestMatrixError
impl Send for TestMatrixError
impl Sync for TestMatrixError
impl Unpin for TestMatrixError
impl UnsafeUnpin for TestMatrixError
impl UnwindSafe for TestMatrixError
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