Struct xpcom::interfaces::nsIHangDetails [] [src]

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

interface nsIHangDetails : nsISupports

/**
 * A scriptable interface for getting information about a BHR detected hang.
 * This is the type of the subject of the "bhr-thread-hang" observer topic.
 */

Methods

impl nsIHangDetails
[src]

[src]

Cast this nsIHangDetails to one of its base interfaces.

impl nsIHangDetails
[src]

[src]

/**
   * The detected duration of the hang.
   */

readonly attribute uint32_t duration;

[src]

/**
   * The name of the thread which hung.
   */

readonly attribute ACString thread;

[src]

/**
   * The name of the runnable which hung if it hung on the main thread.
   */

readonly attribute ACString runnableName;

[src]

/**
   * The type of process which produced the hang. This should be either:
   * "default", "content", or "gpu".
   */

readonly attribute ACString process;

[src]

/**
   * The remote type of the content process which produced the hang.
   */

readonly attribute AString remoteType;

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

IID: nsIID = nsID(601243647, 14550, 16387, [156, 87, 44, 144, 172, 161, 24, 10])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHangDetails
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.