pub enum ArrowError {
InvalidSchema {
message: String,
},
SchemaMismatch {
expected: String,
actual: String,
},
InvalidField {
name: String,
message: String,
},
InvalidDataType {
type_name: String,
message: String,
},
ArrayLengthMismatch {
expected: usize,
actual: usize,
},
OutOfBounds {
index: usize,
length: usize,
},
InvalidQuaternion {
message: String,
},
InvalidTensor {
message: String,
},
ComputationError {
message: String,
},
InvalidData(String),
Internal {
message: String,
},
}Expand description
Error types for Arrow operations
Variants§
InvalidSchema
Invalid schema definition
SchemaMismatch
Schema mismatch
InvalidField
Invalid field access
InvalidDataType
Invalid data type
ArrayLengthMismatch
Array length mismatch
OutOfBounds
Out of bounds access
InvalidQuaternion
Invalid quaternion
InvalidTensor
Invalid tensor
ComputationError
Computation error
InvalidData(String)
Invalid data error
Internal
Internal error
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§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§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 UnwindSafe for ArrowError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more