pub enum ConversionError {
UnsupportedType {
exasol_type: String,
},
ValueConversionFailed {
row: usize,
column: usize,
message: String,
},
SchemaMismatch(String),
InvalidFormat(String),
NumericOverflow {
row: usize,
column: usize,
},
InvalidUtf8 {
row: usize,
column: usize,
},
ArrowError(String),
}Expand description
Errors related to data type conversion.
Variants§
UnsupportedType
Unsupported Exasol type
ValueConversionFailed
Failed to convert value
SchemaMismatch(String)
Schema mismatch
InvalidFormat(String)
Invalid data format
NumericOverflow
Overflow during conversion
InvalidUtf8
Invalid UTF-8 string
ArrowError(String)
Arrow error
Trait Implementations§
Source§impl Debug for ConversionError
impl Debug for ConversionError
Source§impl Display for ConversionError
impl Display for ConversionError
Source§impl Error for ConversionError
impl Error for ConversionError
1.30.0 · 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 ConversionError
impl From<ArrowError> for ConversionError
Source§fn from(err: ArrowError) -> Self
fn from(err: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<ConversionError> for ExasolError
impl From<ConversionError> for ExasolError
Source§fn from(source: ConversionError) -> Self
fn from(source: ConversionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConversionError
impl RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl UnwindSafe for ConversionError
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