Struct xpcom::interfaces::nsIAsyncVerifyRedirectCallback [] [src]

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

interface nsIAsyncVerifyRedirectCallback : nsISupports

Methods

impl nsIAsyncVerifyRedirectCallback
[src]

[src]

Cast this nsIAsyncVerifyRedirectCallback to one of its base interfaces.

impl nsIAsyncVerifyRedirectCallback
[src]

[src]

/**
     * Complement to nsIChannelEventSink asynchronous callback. The result of
     * the redirect decision is passed through this callback.
     *
     * @param result
     *    Result of the redirect veto decision. If FAILED the redirect has been
     *    vetoed. If SUCCEEDED the redirect has been allowed by all consumers.
     */

void onRedirectVerifyCallback (in nsresult result);

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

IID: nsIID = nsID(2367100000, 42774, 16881, [146, 190, 140, 101, 157, 179, 155, 69])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAsyncVerifyRedirectCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.