pub enum DataReaderError {
Io(Error),
Parse(String),
Format(String),
}Expand description
Why a dataset file could not be read.
Variants§
Io(Error)
The file could not be read.
Parse(String)
A value is not a number, or a label is not a non-negative integer.
Format(String)
The file’s shape is wrong: ragged rows, no rows, or invalid labels.
Trait Implementations§
Source§impl Debug for DataReaderError
impl Debug for DataReaderError
Source§impl Display for DataReaderError
impl Display for DataReaderError
Source§impl Error for DataReaderError
impl Error for DataReaderError
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 !RefUnwindSafe for DataReaderError
impl !UnwindSafe for DataReaderError
impl Freeze for DataReaderError
impl Send for DataReaderError
impl Sync for DataReaderError
impl Unpin for DataReaderError
impl UnsafeUnpin for DataReaderError
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