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

Internal logic error in SQLite

Access permission denied

Callback routine requested an abort

The database file is locked

A table in the database is locked

A malloc() failed

Attempt to write a readonly database

Operation terminated by sqlite3_interrupt()

Some kind of disk I/O error occurred

The database disk image is malformed

Unknown opcode in sqlite3_file_control()

Insertion failed because database is full

Unable to open the database file

Database lock protocol error

The database schema changed

String or BLOB exceeds size limit

Abort due to constraint violation

Data type mismatch

Library used incorrectly

Uses OS features not supported on host

Authorization denied

2nd parameter to sqlite3_bind out of range

File opened that is not a database file

SQL error or missing database

Trait Implementations

impl Clone for ErrorCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorCode
[src]

impl Debug for ErrorCode
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ErrorCode
[src]