Enum odbc_iter::RowConvertError
source · 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)>
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.