Struct xpcom::interfaces::nsIRequestTailUnblockCallback [] [src]

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

interface nsIRequestTailUnblockCallback : nsISupports

/**
 * Requests capable of tail-blocking must implement this
 * interfaces (typically channels).
 * If the request is tail-blocked, it will be held in its request
 * context queue until unblocked.
 */

Methods

impl nsIRequestTailUnblockCallback
[src]

[src]

Cast this nsIRequestTailUnblockCallback to one of its base interfaces.

impl nsIRequestTailUnblockCallback
[src]

[src]

/**
   * Called when the requests is unblocked and proceed.
   * @param result
   *    NS_OK - the request is OK to go, unblocking is not
   *            caused by cancelation of the request.
   *    any error - the request must behave as it were canceled
   *                with the result as status.
   */

void onTailUnblock (in nsresult aResult);

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

IID: nsIID = nsID(2125685204, 14245, 17097, [175, 174, 246, 200, 143, 231, 195, 148])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIRequestTailUnblockCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.