pub enum SqliteError {
Step(Error),
UnsupportedValue(String),
}Expand description
A parked error, surfaced at the first owning/dyn boundary. Carries either a
sqlite3_step failure or a value-conversion failure; the production
RindleError (foundations §10) wraps the same set.
Variants§
Step(Error)
A sqlite3_step error (I/O, corruption, an expression-evaluation error
such as integer overflow) raised while advancing the cursor.
UnsupportedValue(String)
A vended value cannot be represented (UnsupportedValueError): currently
a number-column integer that cannot round-trip through f64 without
precision loss. UTF-8 failures are surfaced directly as
[RindleError::InvalidUtf8] at the row-materialization boundary.
Trait Implementations§
Source§impl Debug for SqliteError
impl Debug for SqliteError
Source§impl From<SqliteError> for RindleError
impl From<SqliteError> for RindleError
Source§fn from(value: SqliteError) -> RindleError
fn from(value: SqliteError) -> RindleError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqliteError
impl !RefUnwindSafe for SqliteError
impl Send for SqliteError
impl Sync for SqliteError
impl Unpin for SqliteError
impl UnsafeUnpin for SqliteError
impl !UnwindSafe for SqliteError
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