Struct xpcom::interfaces::nsIAsyncShutdownBarrier [] [src]

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

interface nsIAsyncShutdownBarrier : nsISupports

/**
 * A stage of shutdown that supports blocker registration.
 */

Methods

impl nsIAsyncShutdownBarrier
[src]

[src]

Cast this nsIAsyncShutdownBarrier to one of its base interfaces.

impl nsIAsyncShutdownBarrier
[src]

[src]

/**
   * The blocker registration capability.  Most services may wish to
   * publish this capability to let services that depend on it register
   * blockers.
   */

readonly attribute nsIAsyncShutdownClient client;

[src]

/**
   * The state of all the blockers of the barrier.
   *
   * See the documentation of `nsIAsyncShutdownBlocker` for the
   * format.
   */

readonly attribute nsIPropertyBag state;

[src]

/**
   * Wait for all blockers to complete.
   *
   * Method `aOnReady` will be called once all blockers have finished.
   * The callback always receives NS_OK.
   */

void wait (in nsIAsyncShutdownCompletionCallback aOnReady);

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

IID: nsIID = nsID(1358596742, 40081, 16982, [131, 137, 23, 211, 16, 173, 236, 144])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAsyncShutdownBarrier
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.