Struct xpcom::interfaces::mozIStorageFunction [] [src]

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

interface mozIStorageFunction : nsISupports

/**
 * mozIStorageFunction is to be implemented by storage consumers that
 * wish to receive callbacks during the request execution.
 *
 * SQL can apply functions to values from tables. Examples of
 * such functions are MIN(a1,a2) or SQRT(num). Many functions are
 * implemented in SQL engine.
 *
 * This interface allows consumers to implement their own,
 * problem-specific functions.
 * These functions can be called from triggers, too.
 *
 */

Methods

impl mozIStorageFunction
[src]

[src]

Cast this mozIStorageFunction to one of its base interfaces.

impl mozIStorageFunction
[src]

[src]

/**
   * onFunctionCall is called when execution of a custom
   * function should occur.
   *
   * @param aNumArguments         The number of arguments
   * @param aFunctionArguments    The arguments passed in to the function
   *
   * @returns any value as Variant type.
   */

nsIVariant onFunctionCall (in mozIStorageValueArray aFunctionArguments);

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

IID: nsIID = nsID(2683315301, 8651, 18931, [185, 117, 125, 91, 56, 206, 236, 115])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIStorageFunction
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.