#[repr(i32)]pub enum GeneralError {
MissingCollSeq = 257,
Retry = 513,
Snapshot = 769,
}Expand description
Specific reason for an ErrorCategory::Unknown.
Variants§
MissingCollSeq = 257
A SQL statement could not be prepared because a collating sequence named in that SQL statement could not be located.
Retry = 513
Used internally to provoke sqlite3_prepare_v2() to try again to prepare a statement that failed with an error on the previous attempt.
Snapshot = 769
Returned when attempting to start a read transaction on an historical version of the database by using sqlite3_snapshot_open() interface.
Trait Implementations§
Source§impl Clone for GeneralError
impl Clone for GeneralError
Source§fn clone(&self) -> GeneralError
fn clone(&self) -> GeneralError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneralError
impl Debug for GeneralError
Source§impl PartialEq for GeneralError
impl PartialEq for GeneralError
impl Copy for GeneralError
impl Eq for GeneralError
impl StructuralPartialEq for GeneralError
Auto Trait Implementations§
impl Freeze for GeneralError
impl RefUnwindSafe for GeneralError
impl Send for GeneralError
impl Sync for GeneralError
impl Unpin for GeneralError
impl UnsafeUnpin for GeneralError
impl UnwindSafe for GeneralError
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