Struct xpcom::interfaces::nsIDownloadManagerResult [] [src]

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

interface nsIDownloadManagerResult : nsISupports

Methods

impl nsIDownloadManagerResult
[src]

[src]

Cast this nsIDownloadManagerResult to one of its base interfaces.

impl nsIDownloadManagerResult
[src]

[src]

/**
   * Process an asynchronous result from getDownloadByGUID.
   *
   * @param aStatus The result code of the operation:
   *        * NS_OK: an item was found. No other success values are returned.
   *        * NS_ERROR_NOT_AVAILABLE: no such item was found.
   *        * Other error values are possible, but less well-defined.
   */

void handleResult (in nsresult aStatus, in nsIDownload aDownload);

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

IID: nsIID = nsID(201850859, 31003, 18931, [174, 56, 44, 51, 31, 213, 90, 82])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDownloadManagerResult
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.