Struct xpcom::interfaces::nsIUrlClassifierClassifyCallback [] [src]

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

interface nsIUrlClassifierClassifyCallback : nsISupports

/**
 * This is an internal helper interface which is called after each
 * classify completes to provide and handle a set of possible results,
 * which the main thread may need to expand using an nsIURIClassifierCallback.
 */

Methods

impl nsIUrlClassifierClassifyCallback
[src]

[src]

Cast this nsIUrlClassifierClassifyCallback to one of its base interfaces.

impl nsIUrlClassifierClassifyCallback
[src]

[src]

/**
   * The function is called each time the URL matches a Safe Browsing list
   * The function could be called multiple times if URL matches multiple lists
   *
   */

void handleResult (in ACString aList, in ACString aPrefix);

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

IID: nsIID = nsID(152756120, 10405, 18237, [141, 236, 91, 52, 180, 230, 36, 150])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUrlClassifierClassifyCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.