Struct xpcom::interfaces::nsPIPlacesDatabase [] [src]

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

interface nsPIPlacesDatabase : nsISupports

/**
 * This is a private interface used by Places components to get access to the
 * database.  If outside consumers wish to use this, they should only read from
 * the database so they do not break any internal invariants.
 */

Methods

impl nsPIPlacesDatabase
[src]

[src]

Cast this nsPIPlacesDatabase to one of its base interfaces.

impl nsPIPlacesDatabase
[src]

[src]

/**
   * The database connection used by Places.
   */

readonly attribute mozIStorageConnection DBConnection;

[src]

/**
   * Asynchronously executes the statement created from queries.
   *
   * @see nsINavHistoryService::executeQueries
   * @note THIS IS A TEMPORARY API.  Don't rely on it, since it will be replaced
   *       in future versions by a real async querying API.
   * @note Results obtained from this method differ from results obtained from
   *       executeQueries, because there is additional filtering and sorting
   *       done by the latter.  Thus you should use executeQueries, unless you
   *       are absolutely sure that the returned results are fine for
   *       your use-case.
   */

mozIStoragePendingStatement asyncExecuteLegacyQueries ([array, size_is (aQueryCount)] in nsINavHistoryQuery aQueries, in unsigned long aQueryCount, in nsINavHistoryQueryOptions aOptions, in mozIStorageStatementCallback aCallback);

[src]

/**
   * Hook for clients who need to perform actions during/by the end of
   * the shutdown of the database.
   * May be null if it's too late to get one.
   */

readonly attribute nsIAsyncShutdownClient shutdownClient;

[src]

/**
   * Hook for internal clients who need to perform actions just before the
   * connection gets closed.
   * May be null if it's too late to get one.
   */

readonly attribute nsIAsyncShutdownClient connectionShutdownClient;

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

IID: nsIID = nsID(913237566, 42003, 18301, [154, 214, 141, 104, 99, 232, 148, 1])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsPIPlacesDatabase
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.