Enum rusqlite::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 Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for ErrorCode
[src]

impl Clone for ErrorCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ErrorCode
[src]

impl PartialEq<ErrorCode> for ErrorCode
[src]

[src]

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

1.0.0
[src]

This method tests for !=.