pub enum ExportError {
Show 13 variants
IoError(Error),
TransportError(TransportError),
HttpTransportError {
message: String,
},
SqlExecutionError {
message: String,
},
CsvParseError {
row: usize,
message: String,
},
CsvParse {
row: usize,
message: String,
},
DecompressionError(String),
ChannelError(String),
Timeout {
timeout_ms: u64,
},
Cancelled,
Arrow(String),
Schema(String),
Parquet(String),
}Expand description
Error types for export operations.
Variants§
IoError(Error)
I/O error during export.
TransportError(TransportError)
Transport error during export.
HttpTransportError
HTTP transport setup error.
SqlExecutionError
SQL execution error.
CsvParseError
CSV parsing error.
CsvParse
CSV parsing error (alternative for parquet module compatibility).
DecompressionError(String)
Decompression error.
ChannelError(String)
Channel communication error.
Timeout
Export timeout.
Cancelled
Export was cancelled.
Arrow(String)
Arrow error.
Schema(String)
Schema error.
Parquet(String)
Parquet error.
Trait Implementations§
Source§impl Debug for ExportError
impl Debug for ExportError
Source§impl Display for ExportError
impl Display for ExportError
Source§impl Error for ExportError
impl Error for ExportError
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<Error> for ExportError
impl From<Error> for ExportError
Source§impl From<ParquetError> for ExportError
impl From<ParquetError> for ExportError
Source§fn from(err: ParquetError) -> Self
fn from(err: ParquetError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for ExportError
impl From<TransportError> for ExportError
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 ExportError
impl !RefUnwindSafe for ExportError
impl Send for ExportError
impl Sync for ExportError
impl Unpin for ExportError
impl UnsafeUnpin for ExportError
impl !UnwindSafe for ExportError
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