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