Enum csvbinmatrix::matrix::create::TryFromIntRowsError   
source · pub enum TryFromIntRowsError {
    NumberOfColumnsMismatch {
        row_index: usize,
        current_number_of_columns: usize,
        expected_number_of_columns: usize,
    },
    RowValueNot0or1 {
        row_index: usize,
        unexpected_value: u8,
    },
}Expand description
Error when creating a CSVBinaryMatrix from u8 rows.
Variants§
NumberOfColumnsMismatch
The number of columns in the current row is not equal to the number of columns in the first row.
Fields
RowValueNot0or1
The value in the row is not 0 or 1.
Trait Implementations§
source§impl Debug for TryFromIntRowsError
 
impl Debug for TryFromIntRowsError
source§impl Display for TryFromIntRowsError
 
impl Display for TryFromIntRowsError
source§impl Error for TryFromIntRowsError
 
impl Error for TryFromIntRowsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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 TryFromIntRowsError
impl RefUnwindSafe for TryFromIntRowsError
impl Send for TryFromIntRowsError
impl Sync for TryFromIntRowsError
impl Unpin for TryFromIntRowsError
impl UnwindSafe for TryFromIntRowsError
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