pub enum ColumnError {
Truncated {
part: &'static str,
source: Error,
},
Offset {
at: usize,
offset: usize,
previous: usize,
},
Io(Error),
}Expand description
A column whose bytes are not the layout this build reads.
Variants§
Truncated
The bytes end before the named part is complete.
Offset
An offset lies behind the one before it, so its record has no range.
Fields
Io(Error)
The column could not be read.
Trait Implementations§
Source§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()
Auto Trait Implementations§
impl !RefUnwindSafe for ColumnError
impl !UnwindSafe for ColumnError
impl Freeze for ColumnError
impl Send for ColumnError
impl Sync for ColumnError
impl Unpin for ColumnError
impl UnsafeUnpin 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