Enum libsqlite3_sys::ErrorCode [−][src]
pub enum ErrorCode {
InternalMalfunction,
PermissionDenied,
OperationAborted,
DatabaseBusy,
DatabaseLocked,
OutOfMemory,
ReadOnly,
OperationInterrupted,
SystemIOFailure,
DatabaseCorrupt,
NotFound,
DiskFull,
CannotOpen,
FileLockingProtocolFailed,
SchemaChanged,
TooBig,
ConstraintViolation,
TypeMismatch,
APIMisuse,
NoLargeFileSupport,
AuthorizationForStatementDenied,
ParameterOutOfRange,
NotADatabase,
Unknown,
}Error Codes
Variants
InternalMalfunctionInternal logic error in SQLite
PermissionDeniedAccess permission denied
OperationAbortedCallback routine requested an abort
DatabaseBusyThe database file is locked
DatabaseLockedA table in the database is locked
OutOfMemoryA malloc() failed
ReadOnlyAttempt to write a readonly database
OperationInterruptedOperation terminated by sqlite3_interrupt()
SystemIOFailureSome kind of disk I/O error occurred
DatabaseCorruptThe database disk image is malformed
NotFoundUnknown opcode in sqlite3_file_control()
DiskFullInsertion failed because database is full
CannotOpenUnable to open the database file
FileLockingProtocolFailedDatabase lock protocol error
SchemaChangedThe database schema changed
TooBigString or BLOB exceeds size limit
ConstraintViolationAbort due to constraint violation
TypeMismatchData type mismatch
APIMisuseLibrary used incorrectly
NoLargeFileSupportUses OS features not supported on host
AuthorizationForStatementDeniedAuthorization denied
ParameterOutOfRange2nd parameter to sqlite3_bind out of range
NotADatabaseFile opened that is not a database file
UnknownSQL error or missing database
Trait Implementations
impl Clone for ErrorCode[src]
impl Clone for ErrorCodefn clone(&self) -> ErrorCode[src]
fn clone(&self) -> ErrorCodeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for ErrorCode[src]
impl Copy for ErrorCodeimpl Debug for ErrorCode[src]
impl Debug for ErrorCodefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ErrorCode[src]
impl PartialEq for ErrorCodefn eq(&self, other: &ErrorCode) -> bool[src]
fn eq(&self, other: &ErrorCode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for ErrorCode[src]
impl Eq for ErrorCode