pub enum ArrowError {
TypeMismatch {
expected: &'static str,
col_type: &'static str,
actual: String,
},
OutOfRange(String),
Unsupported(String),
}Expand description
Errors that can occur when converting between SeaORM Values and Arrow arrays.
Variants§
TypeMismatch
The Arrow array type is incompatible with the target SeaORM column type.
OutOfRange(String)
A value lies outside the representable range for the target type.
Unsupported(String)
The column type or Arrow data type is not supported for conversion.
Trait Implementations§
Source§impl Debug for ArrowError
impl Debug for ArrowError
Source§impl Display for ArrowError
impl Display for ArrowError
Source§impl Error for ArrowError
impl Error for ArrowError
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()
Auto Trait Implementations§
impl Freeze for ArrowError
impl RefUnwindSafe for ArrowError
impl Send for ArrowError
impl Sync for ArrowError
impl Unpin for ArrowError
impl UnsafeUnpin for ArrowError
impl UnwindSafe for ArrowError
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