#[non_exhaustive]pub enum IoError {
Show 25 variants
MissingHeaders,
MissingIndexColumn(String),
DuplicateColumnName(String),
MissingUsecols(Vec<String>),
MissingParseDateColumns(Vec<String>),
JsonFormat(String),
Parquet(String),
Orc(String),
Hdf5(String),
Excel(String),
Html(String),
Xml(String),
Pickle(String),
Stata(String),
Fwf(String),
Deferred(String),
Arrow(String),
Sql(String),
Csv(Error),
Json(Error),
Io(Error),
Utf8(FromUtf8Error),
Column(ColumnError),
Frame(FrameError),
Index(IndexError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingHeaders
MissingIndexColumn(String)
DuplicateColumnName(String)
MissingUsecols(Vec<String>)
MissingParseDateColumns(Vec<String>)
JsonFormat(String)
Parquet(String)
Orc(String)
Hdf5(String)
Excel(String)
Html(String)
Xml(String)
Pickle(String)
Stata(String)
Fwf(String)
Deferred(String)
Arrow(String)
Sql(String)
Csv(Error)
Json(Error)
Io(Error)
Utf8(FromUtf8Error)
Column(ColumnError)
Frame(FrameError)
Index(IndexError)
Trait Implementations§
Source§impl Error for IoError
impl Error for IoError
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<ColumnError> for IoError
impl From<ColumnError> for IoError
Source§fn from(source: ColumnError) -> Self
fn from(source: ColumnError) -> Self
Converts to this type from the input type.
Source§impl From<FrameError> for IoError
impl From<FrameError> for IoError
Source§fn from(source: FrameError) -> Self
fn from(source: FrameError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for IoError
impl From<FromUtf8Error> for IoError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<IndexError> for IoError
impl From<IndexError> for IoError
Source§fn from(source: IndexError) -> Self
fn from(source: IndexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IoError
impl !UnwindSafe for IoError
impl Freeze for IoError
impl Send for IoError
impl Sync for IoError
impl Unpin for IoError
impl UnsafeUnpin for IoError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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