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