pub enum ColumnError {
Truncated {
found: usize,
needed: usize,
},
Offset {
at: usize,
offset: usize,
len: usize,
},
}Expand description
A column whose bytes are not the layout this build reads.
Variants§
Truncated
The bytes end before the header or the offsets do.
Offset
An offset points outside the records, or before the one before it.
Trait Implementations§
Source§impl Clone for ColumnError
impl Clone for ColumnError
Source§impl Debug for ColumnError
impl Debug for ColumnError
Source§impl Display for ColumnError
impl Display for ColumnError
impl Eq for ColumnError
Source§impl Error for ColumnError
impl Error for ColumnError
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 ColumnError
impl PartialEq for ColumnError
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