pub enum IngestError {
EmptyFile,
NotUtf8 {
byte_offset: usize,
},
MissingHeader {
key: &'static str,
},
MalformedNumericHeader {
key: String,
value: String,
},
RowColumnCountMismatch {
line: usize,
expected: usize,
found: usize,
},
BadCell {
line: usize,
column: usize,
token: String,
},
NoDataRows,
Sha256Mismatch {
expected: String,
actual: String,
},
Sha256NotLowerHex64 {
provided: String,
},
}Expand description
Loader errors. Every variant has an explicit message so the CLI can surface a human-actionable diagnosis without inventing free-form text.
Variants§
EmptyFile
NotUtf8
MissingHeader
MalformedNumericHeader
RowColumnCountMismatch
BadCell
NoDataRows
Sha256Mismatch
Sha256NotLowerHex64
Trait Implementations§
Source§impl Clone for IngestError
impl Clone for IngestError
Source§fn clone(&self) -> IngestError
fn clone(&self) -> IngestError
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 IngestError
impl Debug for IngestError
Source§impl Display for IngestError
impl Display for IngestError
Source§impl PartialEq for IngestError
impl PartialEq for IngestError
Source§fn eq(&self, other: &IngestError) -> bool
fn eq(&self, other: &IngestError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IngestError
impl StructuralPartialEq for IngestError
Auto Trait Implementations§
impl Freeze for IngestError
impl RefUnwindSafe for IngestError
impl Send for IngestError
impl Sync for IngestError
impl Unpin for IngestError
impl UnsafeUnpin for IngestError
impl UnwindSafe for IngestError
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