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]
pub fn coerce<T: nsIDumpGCAndCCLogsCallbackCoerce>(&self) -> &T
[src]
Cast this nsIDumpGCAndCCLogsCallback
to one of its base interfaces.
impl nsIDumpGCAndCCLogsCallback
[src]
pub unsafe fn OnDump(
&self,
aGCLog: *const nsIFile,
aCCLog: *const nsIFile,
aIsParent: bool
) -> nsresult
[src]
&self,
aGCLog: *const nsIFile,
aCCLog: *const nsIFile,
aIsParent: bool
) -> nsresult
/**
* 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);
pub unsafe fn OnFinish(&self) -> nsresult
[src]
/**
* Called when GC/CC logging has finished, after all calls to |onDump|.
*/
void onFinish ();
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDumpGCAndCCLogsCallback
[src]
const IID: nsIID
IID: nsIID = nsID(3692768036, 26045, 17435, [182, 189, 203, 88, 37, 167, 237, 20])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDumpGCAndCCLogsCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.