Struct xpcom::interfaces::nsIPushSubscriptionCallback [] [src]

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

interface nsIPushSubscriptionCallback : nsISupports

/**
 * Called by methods that return a push subscription. A non-success
 * |status| indicates that there was a problem returning the
 * subscription, and the |subscription| argument should be ignored. Otherwise,
 * |subscription| will point to a valid push subscription, or |null| if the
 * subscription does not exist.
 */

Methods

impl nsIPushSubscriptionCallback
[src]

[src]

Cast this nsIPushSubscriptionCallback to one of its base interfaces.

impl nsIPushSubscriptionCallback
[src]

[src]

void onPushSubscription (in nsresult status, in nsIPushSubscription subscription);

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

IID: nsIID = nsID(395952244, 40274, 18096, [171, 60, 192, 151, 144, 115, 47, 111])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPushSubscriptionCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.