Struct xpcom::interfaces::nsIDumpGCAndCCLogsCallback [] [src]

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

interface nsIDumpGCAndCCLogsCallback : nsISupports

/**
 * Callback interface for |dumpGCAndCCLogsToFile|, below.  Note that
 * these method calls can occur before |dumpGCAndCCLogsToFile|
 * returns.
 */

Methods

impl nsIDumpGCAndCCLogsCallback
[src]

[src]

Cast this nsIDumpGCAndCCLogsCallback to one of its base interfaces.

impl nsIDumpGCAndCCLogsCallback
[src]

[src]

/**
   * Called whenever a process has successfully finished dumping its GC/CC logs.
   * Incomplete dumps (e.g., if the child crashes or is killed due to memory
   * exhaustion) are not reported.
   *
   * @param aGCLog The file that the GC log was written to.
   *
   * @param aCCLog The file that the CC log was written to.
   *
   * @param aIsParent indicates whether this log file pair is from the
   * parent process.
   */

void onDump (in nsIFile aGCLog, in nsIFile aCCLog, in bool aIsParent);

[src]

/**
   * Called when GC/CC logging has finished, after all calls to |onDump|.
   */

void onFinish ();

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

IID: nsIID = nsID(3692768036, 26045, 17435, [182, 189, 203, 88, 37, 167, 237, 20])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDumpGCAndCCLogsCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.