Struct xpcom::interfaces::mozIStorageStatementCallback [] [src]

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

interface mozIStorageStatementCallback : nsISupports

Methods

impl mozIStorageStatementCallback
[src]

[src]

Cast this mozIStorageStatementCallback to one of its base interfaces.

impl mozIStorageStatementCallback
[src]

REASON_FINISHED: i64 = 0
/**
   * Called when the statement has finished executing.  This function will only
   * be called once for any given asynchronous statement.
   *
   * @param aReason
   *        Indicates if the statement is no longer executing because it either
   *        finished (REASON_FINISHED), was canceled (REASON_CANCELED), or
   *        a fatal error occurred (REASON_ERROR).
   */

REASON_CANCELED: i64 = 1

REASON_ERROR: i64 = 2

[src]

/**
   * Called when some result is obtained from the database.  This function can
   * be called more than once with a different storageIResultSet each time for
   * any given asynchronous statement.
   *
   * @param aResultSet
   *        The result set containing the data from the database.
   */

void handleResult (in mozIStorageResultSet aResultSet);

[src]

/**
   * Called when some error occurs while executing the statement.  This function
   * may be called more than once with a different storageIError each time for
   * any given asynchronous statement.
   *
   * @param aError
   *        An object containing information about the error.
   */

void handleError (in mozIStorageError aError);

[src]

void handleCompletion (in unsigned short aReason);

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 mozIStorageStatementCallback
[src]

IID: nsIID = nsID(691551488, 55492, 19933, [159, 139, 194, 254, 176, 242, 252, 250])

[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 mozIStorageStatementCallback
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIStorageStatementCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.