Struct xpcom::interfaces::nsIURIClassifierCallback [] [src]

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

interface nsIURIClassifierCallback : nsISupports

/**
 * Callback function for nsIURIClassifier lookups.
 */

Methods

impl nsIURIClassifierCallback
[src]

[src]

Cast this nsIURIClassifierCallback to one of its base interfaces.

impl nsIURIClassifierCallback
[src]

[src]

/**
   * Called by the URI classifier service when it is done checking a URI.
   *
   * Clients are responsible for associating callback objects with classify()
   * calls.
   *
   * @param aErrorCode
   *        The error code with which the channel should be cancelled, or
   *        NS_OK if the load should continue normally.
   * @param aList
   *        Name of the list that matched
   * @param aProvider
   *        Name of provider that matched
   * @param aFullHash
   *        Full hash of URL that matched
   */

void onClassifyComplete (in nsresult aErrorCode, in ACString aList, in ACString aProvider, in ACString aFullHash);

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

IID: nsIID = nsID(2410472558, 3222, 18191, [175, 64, 0, 55, 220, 215, 151, 189])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIURIClassifierCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.