#[non_exhaustive]pub enum TabularError {
Csv(Error),
Json(Error),
Io(Error),
Invalid(String),
Limit(RustTorchError),
Tensor(TchError),
Arrow(ArrowError),
Parquet(ParquetError),
}Expand description
Parsing, schema, fitted-state or tensor failure.
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.
Csv(Error)
CSV syntax/type error with record position retained.
Json(Error)
JSON syntax error with line and column retained.
Io(Error)
Local reader failed.
Invalid(String)
Invalid schema, cell or fitted state.
Limit(RustTorchError)
Finite input/output limit exceeded.
Tensor(TchError)
LibTorch failure.
Arrow(ArrowError)
Arrow reader or schema error.
Parquet(ParquetError)
Parquet reader error.
Trait Implementations§
Source§impl Debug for TabularError
impl Debug for TabularError
Source§impl Display for TabularError
impl Display for TabularError
Source§impl Error for TabularError
impl Error for TabularError
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<ArrowError> for TabularError
impl From<ArrowError> for TabularError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TabularError
impl From<Error> for TabularError
Source§impl From<Error> for TabularError
impl From<Error> for TabularError
Source§impl From<Error> for TabularError
impl From<Error> for TabularError
Source§impl From<ParquetError> for TabularError
impl From<ParquetError> for TabularError
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Converts to this type from the input type.
Source§impl From<RustTorchError> for TabularError
impl From<RustTorchError> for TabularError
Source§fn from(source: RustTorchError) -> Self
fn from(source: RustTorchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TabularError
impl !UnwindSafe for TabularError
impl Forget for TabularError
impl Freeze for TabularError
impl Send for TabularError
impl Sync for TabularError
impl Unpin for TabularError
impl UnsafeUnpin for TabularError
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