pub struct ColumnLengthMismatch {
pub ids: usize,
pub starts: usize,
pub lengths: usize,
}Expand description
The three columns handed to ColumnarEntityIndex::from_columns or
ColumnarEntityIndex::from_owned_columns were not all the same length.
A caller-facing error, not an empty index: an empty index is also what an
empty file produces, so folding the two together hid a malformed payload.
Fields§
§ids: usize§starts: usize§lengths: usizeTrait Implementations§
Source§impl Clone for ColumnLengthMismatch
impl Clone for ColumnLengthMismatch
Source§fn clone(&self) -> ColumnLengthMismatch
fn clone(&self) -> ColumnLengthMismatch
Returns a duplicate of the value. Read more
1.0.0 · 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 ColumnLengthMismatch
impl Debug for ColumnLengthMismatch
Source§impl Display for ColumnLengthMismatch
impl Display for ColumnLengthMismatch
Source§impl Error for ColumnLengthMismatch
impl Error for ColumnLengthMismatch
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 PartialEq for ColumnLengthMismatch
impl PartialEq for ColumnLengthMismatch
impl Copy for ColumnLengthMismatch
impl Eq for ColumnLengthMismatch
impl StructuralPartialEq for ColumnLengthMismatch
Auto Trait Implementations§
impl Freeze for ColumnLengthMismatch
impl RefUnwindSafe for ColumnLengthMismatch
impl Send for ColumnLengthMismatch
impl Sync for ColumnLengthMismatch
impl Unpin for ColumnLengthMismatch
impl UnwindSafe for ColumnLengthMismatch
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