Enum rusqlite::types::FromSqlError
source · Expand description
Enum listing possible errors from FromSql
trait.
Variants§
InvalidType
Error when an SQLite value is requested, but the type of the result cannot be converted to the requested Rust type.
OutOfRange(i64)
Error when the i64 value returned by SQLite cannot be stored into the requested type.
Other(Box<dyn Error + Send + Sync>)
An error case available for implementors of the FromSql
trait.
Trait Implementations§
source§impl Debug for FromSqlError
impl Debug for FromSqlError
source§impl Display for FromSqlError
impl Display for FromSqlError
source§impl Error for FromSqlError
impl Error for FromSqlError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting