Enum libsqlcipher_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]
fn clone(&self) -> ErrorCode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ErrorCode[src]
impl Debug for ErrorCode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for ErrorCode[src]
fn eq(&self, __arg_0: &ErrorCode) -> bool[src]
This 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]
This method tests for !=.