Struct xpcom::interfaces::mozIStorageError [] [src]

#[repr(C)]
pub struct mozIStorageError { /* fields omitted */ }

interface mozIStorageError : nsISupports

Methods

impl mozIStorageError
[src]

[src]

Cast this mozIStorageError to one of its base interfaces.

impl mozIStorageError
[src]

ERROR: i64 = 1
/**
   * General SQL error or missing database.
   */

INTERNAL: i64 = 2
/**
   * Internal logic error.
   */

PERM: i64 = 3
/**
   * Access permission denied.
   */

ABORT: i64 = 4
/**
   * A callback routine requested an abort.
   */

BUSY: i64 = 5
/**
   * The database file is locked.
   */

LOCKED: i64 = 6
/**
   * A table in the database is locked.
   */

NOMEM: i64 = 7
/**
   * An allocation failed.
   */

READONLY: i64 = 8
/**
   * Attempt to write to a readonly database.
   */

INTERRUPT: i64 = 9
/**
   * Operation was terminated by an interrupt.
   */

IOERR: i64 = 10
/**
   * Some kind of disk I/O error occurred.
   */

CORRUPT: i64 = 11
/**
   * The database disk image is malformed.
   */

FULL: i64 = 13
/**
   * An insertion failed because the database is full.
   */

CANTOPEN: i64 = 14
/**
   * Unable to open the database file.
   */

EMPTY: i64 = 16
/**
   * The database is empty.
   */

SCHEMA: i64 = 17
/**
   * The database scheme changed.
   */

TOOBIG: i64 = 18
/**
   * A string or blob exceeds the size limit.
   */

CONSTRAINT: i64 = 19
/**
   * Abort due to a constraint violation.
   */

MISMATCH: i64 = 20
/**
   * Data type mismatch.
   */

MISUSE: i64 = 21
/**
   * Library used incorrectly.
   */

NOLFS: i64 = 22
/**
   * Uses OS features not supported on the host system.
   */

AUTH: i64 = 23
/**
   * Authorization denied.
   */

FORMAT: i64 = 24
/**
   * Auxiliary database format error.
   */

RANGE: i64 = 25
/**
   * Attempt to bind a parameter using an out-of-range index or nonexistent
   * named parameter name.
   */

NOTADB: i64 = 26
/**
   * File opened that is not a database file.
   */

[src]

/**
   * Indicates what type of error occurred.
   */

readonly attribute long result;

[src]

/**
   * An error string the gives more details, if available.
   */

readonly attribute AUTF8String message;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for mozIStorageError
[src]

IID: nsIID = nsID(523571094, 28707, 17226, [136, 100, 64, 161, 196, 147, 170, 193])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for mozIStorageError
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIStorageError
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.