Struct xpcom::interfaces::nsICycleCollectorLogSink
[−]
[src]
#[repr(C)]pub struct nsICycleCollectorLogSink { /* fields omitted */ }
interface nsICycleCollectorLogSink : nsISupports
/**
* This interface allows replacing the log-writing backend for an
* nsICycleCollectorListener. As this interface is also called while
* the cycle collector is running, it cannot be implemented in JS.
*/
Methods
impl nsICycleCollectorLogSink
[src]
pub fn coerce<T: nsICycleCollectorLogSinkCoerce>(&self) -> &T
[src]
Cast this nsICycleCollectorLogSink
to one of its base interfaces.
impl nsICycleCollectorLogSink
[src]
pub unsafe fn CloseGCLog(&self) -> nsresult
[src]
void closeGCLog ();
pub unsafe fn CloseCCLog(&self) -> nsresult
[src]
void closeCCLog ();
pub unsafe fn GetFilenameIdentifier(
&self,
aFilenameIdentifier: &mut nsAString
) -> nsresult
[src]
&self,
aFilenameIdentifier: &mut nsAString
) -> nsresult
attribute AString filenameIdentifier;
pub unsafe fn SetFilenameIdentifier(
&self,
aFilenameIdentifier: &nsAString
) -> nsresult
[src]
&self,
aFilenameIdentifier: &nsAString
) -> nsresult
attribute AString filenameIdentifier;
pub unsafe fn GetProcessIdentifier(
&self,
aProcessIdentifier: *mut int32_t
) -> nsresult
[src]
&self,
aProcessIdentifier: *mut int32_t
) -> nsresult
attribute int32_t processIdentifier;
pub unsafe fn SetProcessIdentifier(
&self,
aProcessIdentifier: int32_t
) -> nsresult
[src]
&self,
aProcessIdentifier: int32_t
) -> nsresult
attribute int32_t processIdentifier;
pub unsafe fn GetGcLog(&self, aGcLog: *mut *const nsIFile) -> nsresult
[src]
readonly attribute nsIFile gcLog;
pub unsafe fn GetCcLog(&self, aCcLog: *mut *const nsIFile) -> nsresult
[src]
readonly attribute nsIFile ccLog;
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 nsICycleCollectorLogSink
[src]
const IID: nsIID
IID: nsIID = nsID(987334495, 53476, 19138, [135, 227, 241, 39, 246, 192, 44, 225])
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 nsICycleCollectorLogSink
[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 nsICycleCollectorLogSink
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.