Struct xpcom::interfaces::nsIForcePendingChannel [] [src]

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

interface nsIForcePendingChannel : nsISupports

/**
 * nsIForcePending interface exposes a function that enables overwriting of the normal
 * behavior for the channel's IsPending(), forcing 'true' to be returned.
 */

Methods

impl nsIForcePendingChannel
[src]

[src]

Cast this nsIForcePendingChannel to one of its base interfaces.

impl nsIForcePendingChannel
[src]

[src]

/**
     * forcePending(true) overrides the normal behavior for the
     * channel's IsPending(), forcing 'true' to be returned. A call to
     * forcePending(false) reverts IsPending() back to normal behavior.
     */

void forcePending (in boolean aForcePending);

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

IID: nsIID = nsID(717480394, 1183, 17603, [165, 25, 240, 104, 31, 81, 233, 177])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIForcePendingChannel
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.