Struct xpcom::interfaces::mozIVisitInfoCallback [] [src]

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

interface mozIVisitInfoCallback : nsISupports

/**
 * Shared Callback interface for mozIAsyncHistory methods. The semantics
 * for each method are detailed in mozIAsyncHistory.
 */

Methods

impl mozIVisitInfoCallback
[src]

[src]

Cast this mozIVisitInfoCallback to one of its base interfaces.

impl mozIVisitInfoCallback
[src]

[src]

/**
   * Called when the given place could not be processed.
   *
   * @param aResultCode
   *        nsresult indicating the failure reason.
   * @param aPlaceInfo
   *        The information that was given to the caller for the place.
   */

void handleError (in nsresult aResultCode, in mozIPlaceInfo aPlaceInfo);

[src]

/**
   * Called for each place processed successfully.
   *
   * @param aPlaceInfo
   *        The current info stored for the place.
   */

void handleResult (in mozIPlaceInfo aPlaceInfo);

[src]

/**
   * Called when all records were processed.
   * @param aUpdatedItems
   *        How many items were successfully updated.
   */

void handleCompletion (in unsigned long aUpdatedItems);

[src]

/**
   * These two attributes govern whether we attempt to call
   * handleResult and handleError, respectively, if/once
   * results/errors occur.
   */

readonly attribute bool ignoreResults;

[src]

readonly attribute bool ignoreErrors;

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

IID: nsIID = nsID(522610807, 10329, 16779, [161, 27, 236, 58, 228, 244, 249, 61])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIVisitInfoCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.