pub enum ColumnConvertError {
UnexpectedNullValue(&'static str),
DatumAccessError(DatumAccessError),
ValueOutOfRange {
expected: &'static str,
},
}
Expand description
Error type that represents different problems when converting column values to specific types.
Variants§
Trait Implementations§
Source§impl Debug for ColumnConvertError
impl Debug for ColumnConvertError
Source§impl Display for ColumnConvertError
impl Display for ColumnConvertError
Source§impl Error for ColumnConvertError
impl Error for ColumnConvertError
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<ColumnConvertError> for RowConvertError
impl From<ColumnConvertError> for RowConvertError
Source§fn from(err: ColumnConvertError) -> RowConvertError
fn from(err: ColumnConvertError) -> RowConvertError
Converts to this type from the input type.
Source§impl From<DatumAccessError> for ColumnConvertError
impl From<DatumAccessError> for ColumnConvertError
Source§fn from(err: DatumAccessError) -> ColumnConvertError
fn from(err: DatumAccessError) -> ColumnConvertError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ColumnConvertError
impl RefUnwindSafe for ColumnConvertError
impl Send for ColumnConvertError
impl Sync for ColumnConvertError
impl Unpin for ColumnConvertError
impl UnwindSafe for ColumnConvertError
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