Struct xpcom::interfaces::mozIStorageCompletionCallback [] [src]

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

interface mozIStorageCompletionCallback : nsISupports

Methods

impl mozIStorageCompletionCallback
[src]

[src]

Cast this mozIStorageCompletionCallback to one of its base interfaces.

impl mozIStorageCompletionCallback
[src]

[src]

/**
   * Indicates that the event this callback was passed in for has completed.
   *
   * @param status
   *        The status of the call. Generally NS_OK if the operation
   *        completed successfully.
   * @param value
   *        If the operation produces a result, the result. Otherwise,
   *        |null|.
   *
   * @see The calling method for expected values.
   */

void complete (in nsresult status, [optional] in nsISupports value);

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

IID: nsIID = nsID(2361339330, 37344, 17596, [152, 79, 85, 54, 56, 65, 32, 113])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIStorageCompletionCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.