pub enum UpdateMatrixError {
ColumnsMismatch(usize, usize),
RowsMismatch(usize, usize),
}
Expand description
Error when updating the matrix
Variants§
ColumnsMismatch(usize, usize)
Error when the extension’s number of columns does not match the self’s number of columns.
RowsMismatch(usize, usize)
Error when the extension’s number of rows does not match the self’s number of rows.
Trait Implementations§
Source§impl Debug for UpdateMatrixError
impl Debug for UpdateMatrixError
Source§impl Display for UpdateMatrixError
impl Display for UpdateMatrixError
Source§impl Error for UpdateMatrixError
impl Error for UpdateMatrixError
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()
Auto Trait Implementations§
impl Freeze for UpdateMatrixError
impl RefUnwindSafe for UpdateMatrixError
impl Send for UpdateMatrixError
impl Sync for UpdateMatrixError
impl Unpin for UpdateMatrixError
impl UnwindSafe for UpdateMatrixError
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