pub enum ImportError {
Show 18 variants
IoError(Error),
ParquetError(String),
ArrowError(String),
TransportError(TransportError),
QueryError(String),
ConversionError(String),
InvalidConfig(String),
CsvWriteError(String),
ArrowIpcError(String),
SqlError(String),
HttpTransportError(String),
StreamError(String),
CompressionError(String),
InvalidSessionState(String),
ChannelError(String),
ParallelImportError(String),
SchemaInferenceError(String),
SchemaMismatchError(String),
}Expand description
Errors that can occur during import operations.
Variants§
IoError(Error)
IO error during file operations
ParquetError(String)
Parquet file reading error
ArrowError(String)
Arrow conversion error
TransportError(TransportError)
Transport error during HTTP streaming
QueryError(String)
Query execution error
ConversionError(String)
Data conversion error
InvalidConfig(String)
Invalid configuration
CsvWriteError(String)
CSV writing error
ArrowIpcError(String)
Arrow IPC reading error
SqlError(String)
SQL execution error
HttpTransportError(String)
HTTP transport server failed
StreamError(String)
Data streaming error
CompressionError(String)
Compression error
InvalidSessionState(String)
Invalid session state
ChannelError(String)
Channel communication error
ParallelImportError(String)
Parallel import error (connection, streaming, or conversion failure)
SchemaInferenceError(String)
Schema inference failed (could not read metadata or convert types)
SchemaMismatchError(String)
Schema mismatch between multiple files
Trait Implementations§
Source§impl Debug for ImportError
impl Debug for ImportError
Source§impl Display for ImportError
impl Display for ImportError
Source§impl Error for ImportError
impl Error for ImportError
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 ImportError
impl From<ArrowError> for ImportError
Source§fn from(err: ArrowError) -> Self
fn from(err: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ImportError
impl From<Error> for ImportError
Source§impl From<ParquetError> for ImportError
impl From<ParquetError> for ImportError
Source§fn from(err: ParquetError) -> Self
fn from(err: ParquetError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for ImportError
impl From<TransportError> for ImportError
Source§fn from(source: TransportError) -> Self
fn from(source: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImportError
impl !RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnsafeUnpin for ImportError
impl !UnwindSafe for ImportError
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