pub enum ColumnError {
LengthMismatch {
left: usize,
right: usize,
},
InvalidLength {
operation: &'static str,
expected: usize,
actual: usize,
},
InvalidSorter {
len: usize,
reason: String,
},
InvalidMaskType {
dtype: DType,
},
DTypeMismatch {
left: DType,
right: DType,
},
NegativeIntegerPower,
Type(TypeError),
}Variants§
LengthMismatch
InvalidLength
InvalidSorter
InvalidMaskType
DTypeMismatch
NegativeIntegerPower
Type(TypeError)
Trait Implementations§
Source§impl Clone for ColumnError
impl Clone for ColumnError
Source§fn clone(&self) -> ColumnError
fn clone(&self) -> ColumnError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnError
impl Debug for ColumnError
Source§impl Display for ColumnError
impl Display for ColumnError
Source§impl Error for ColumnError
impl Error for ColumnError
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<TypeError> for ColumnError
impl From<TypeError> for ColumnError
Source§impl PartialEq for ColumnError
impl PartialEq for ColumnError
Source§fn eq(&self, other: &ColumnError) -> bool
fn eq(&self, other: &ColumnError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnError
Auto Trait Implementations§
impl Freeze for ColumnError
impl RefUnwindSafe for ColumnError
impl Send for ColumnError
impl Sync for ColumnError
impl Unpin for ColumnError
impl UnsafeUnpin for ColumnError
impl UnwindSafe for ColumnError
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