Struct xpcom::interfaces::nsIUnsubscribeResultCallback [] [src]

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

interface nsIUnsubscribeResultCallback : nsISupports

/**
 * Called by |unsubscribe|. A non-success |status| indicates that there was
 * a problem unsubscribing, and the |success| argument should be ignored.
 * Otherwise, |success| is true if unsubscribing was successful, and false if
 * the subscription does not exist.
 */

Methods

impl nsIUnsubscribeResultCallback
[src]

[src]

Cast this nsIUnsubscribeResultCallback to one of its base interfaces.

impl nsIUnsubscribeResultCallback
[src]

[src]

void onUnsubscribe (in nsresult status, in bool success);

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

IID: nsIID = nsID(3581153679, 25001, 17008, [177, 246, 68, 97, 170, 133, 196, 245])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUnsubscribeResultCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.