pub enum RelationError {
Csv(Error),
Io(Error),
Parquet(ParquetError),
Arrow(ArrowError),
InvalidData(String),
}Expand description
Error type for relation file operations (CSV and Parquet).
Variants§
Csv(Error)
A CSV library error.
Io(Error)
A filesystem I/O error.
Parquet(ParquetError)
A Parquet library error.
Arrow(ArrowError)
An Arrow conversion error.
InvalidData(String)
A data value that could not be converted (e.g. non-integer in a CSV).
Trait Implementations§
Source§impl Debug for RelationError
impl Debug for RelationError
Source§impl Display for RelationError
impl Display for RelationError
Source§impl Error for RelationError
impl Error for RelationError
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 RelationError
impl From<ArrowError> for RelationError
Source§fn from(e: ArrowError) -> Self
fn from(e: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RelationError
impl From<Error> for RelationError
Source§impl From<Error> for RelationError
impl From<Error> for RelationError
Source§impl From<ParquetError> for RelationError
impl From<ParquetError> for RelationError
Source§fn from(e: ParquetError) -> Self
fn from(e: ParquetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RelationError
impl !RefUnwindSafe for RelationError
impl Send for RelationError
impl Sync for RelationError
impl Unpin for RelationError
impl UnsafeUnpin for RelationError
impl !UnwindSafe for RelationError
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