pub enum ErrorKind {
MissingColumn {
column: String,
},
WrongDatatype {
column: String,
expected: String,
actual: DataType,
},
UnexpectedColumn {
column: String,
},
UnexpectedNulls {
column: String,
null_count: usize,
},
WrongArrayType {
column: String,
expected: String,
actual: DataType,
},
BuildRecordBatch(ArrowError),
}Expand description
What went wrong when converting between a record batch and a #[derive(Quiver)] struct.
Variants§
MissingColumn
WrongDatatype
Fields
UnexpectedColumn
UnexpectedNulls
WrongArrayType
Fields
BuildRecordBatch(ArrowError)
Trait Implementations§
Source§impl Error for ErrorKind
impl Error for ErrorKind
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 !RefUnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind
impl Freeze for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
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