pub enum RowConvertError {
UnexpectedNullValue(&'static str),
UnexpectedValue,
UnexpectedNumberOfColumns {
expected: u16,
got: u16,
},
ColumnConvertError(Box<dyn Error>),
}
Expand description
Errors that may happen during conversion of ValueRow
to given type.
Variants§
UnexpectedNullValue(&'static str)
UnexpectedValue
UnexpectedNumberOfColumns
ColumnConvertError(Box<dyn Error>)
Trait Implementations§
Source§impl Debug for RowConvertError
impl Debug for RowConvertError
Source§impl Display for RowConvertError
impl Display for RowConvertError
Source§impl Error for RowConvertError
impl Error for RowConvertError
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.
Auto Trait Implementations§
impl Freeze for RowConvertError
impl !RefUnwindSafe for RowConvertError
impl !Send for RowConvertError
impl !Sync for RowConvertError
impl Unpin for RowConvertError
impl !UnwindSafe for RowConvertError
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