Struct xpcom::interfaces::nsINetworkPredictorVerifier [] [src]

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

interface nsINetworkPredictorVerifier : nsISupports

Methods

impl nsINetworkPredictorVerifier
[src]

[src]

Cast this nsINetworkPredictorVerifier to one of its base interfaces.

impl nsINetworkPredictorVerifier
[src]

[src]

/**
     * Callback for when we do a predictive prefetch
     *
     * @param uri - The URI that was prefetched
     * @param status - The request status code returned by the
     *   prefetch attempt e.g. 200 (OK):w
     */

void onPredictPrefetch (in nsIURI uri, in uint32_t status);

[src]

/**
     * Callback for when we do a predictive preconnect
     *
     * @param uri - The URI that was preconnected to
     */

void onPredictPreconnect (in nsIURI uri);

[src]

/**
     * Callback for when we do a predictive DNS lookup
     *
     * @param uri - The URI that was looked up
     */

void onPredictDNS (in nsIURI uri);

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

IID: nsIID = nsID(776190770, 55999, 17556, [159, 144, 43, 49, 149, 177, 199, 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 nsINetworkPredictorVerifier
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINetworkPredictorVerifier
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.