[−][src]Enum rsqlite::error::RsqliteError
Variants
InvalidCString(NulError)
Can not convert the provided String into a CString
SQLITE_ABORT: An operation was aborted prior to completion
SQLITE_AUTH: An SQL statement being prepared is not authorized.
SQLITE_BUSY: The database file could not be written (or in some cases read).
SQLITE_CANTOPEN: SQLite was unable to open a file.
SQLITE_CONSTRAINT: An SQL constraint violation occurred.
SQLITE_CORRUPT: The database file has been corrupted.
SQLITE_ERROR: Sqlite generic error code.
SQLITE_FULL: A write could not complete because the disk is full.
SQLITE_INTERNAL: An internal malfunction. you should never see this.
SQLITE_INTERRUPT: An operation was interrupted.
SQLITE_IOERR: Operation did not finish because the OS reported an I/O error.
SQLITE_LOCKED: A write operation could not continue because of a conflict within the same database connection or a conflict with a different database connection that uses a shared cache.
SQLITE_MISMATCH: This error code indicates a datatype mismatch.
SQLITE_MISUSE: SQLite interface was used in an undefined or unsupported way.
SQLITE_NOLFS: System does not support large files, or the database grew to be larger than what the filesystem can handle.
SQLITE_NOMEM: SQLite was unable to allocate all the memory
it needed to complete the operation.
SQLITE_NOTADB: The file being opened does not appear to be an SQLite database file.
SQLITE_NOTFOUND: See https://sqlite.org/rescode.html
SQLITE_PERM: The requested access mode for a newly created database could not be provided.
SQLITE_PROTOCOL: A problem with the file locking protocol used by SQLite.
SQLITE_RANGE: The parameter number argument to one of the sqlite3_bind routines or the column number in one of the sqlite3_column routines is out of range.
SQLITE_READONLY: An attempt was made to alter some data for which the current database connection does not have write permission.
SQLITE_SCHEMA: The database schema was changed by some other process in between the time that the statement was prepared and the time the statement was run.
SQLITE_TOOBIG: A string or BLOB was too large.
Unknown(c_int)
Unknown SQLITE error, See https://sqlite.org/rescode.html
Trait Implementations
impl Debug for RsqliteError
[src]
impl Display for RsqliteError
[src]
impl Error for RsqliteError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<NulError> for RsqliteError
[src]
impl From<i32> for RsqliteError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RsqliteError
impl Send for RsqliteError
impl Sync for RsqliteError
impl Unpin for RsqliteError
impl UnwindSafe for RsqliteError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,