Struct xpcom::interfaces::nsIConsoleMessage
[−]
[src]
#[repr(C)]pub struct nsIConsoleMessage { /* fields omitted */ }
interface nsIConsoleMessage : nsISupports
/**
* This is intended as a base interface; implementations may want to
* provide an object that can be qi'ed to provide more specific
* message information.
*/
Methods
impl nsIConsoleMessage
[src]
pub fn coerce<T: nsIConsoleMessageCoerce>(&self) -> &T
[src]
Cast this nsIConsoleMessage
to one of its base interfaces.
impl nsIConsoleMessage
[src]
pub const debug: i64
debug: i64 = 0
/** Log level constants. */
pub const info: i64
info: i64 = 1
pub const warn: i64
warn: i64 = 2
pub const error: i64
error: i64 = 3
pub unsafe fn GetLogLevel(&self, aLogLevel: *mut uint32_t) -> nsresult
[src]
/**
* The log level of this message.
*/
readonly attribute uint32_t logLevel;
pub unsafe fn GetTimeStamp(&self, aTimeStamp: *mut int64_t) -> nsresult
[src]
/**
* The time (in milliseconds from the Epoch) that the message instance
* was initialised.
* The timestamp is initialized as JS_now/1000 so that it can be
* compared to Date.now in Javascript.
*/
readonly attribute long long timeStamp;
pub unsafe fn GetMessageMoz(&self, aMessage: *mut *const int16_t) -> nsresult
[src]
[binaryname(MessageMoz)] readonly attribute wstring message;
pub unsafe fn ToString(&self, _retval: &mut nsACString) -> nsresult
[src]
AUTF8String toString ();
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 nsIConsoleMessage
[src]
const IID: nsIID
IID: nsIID = nsID(985306647, 4322, 18489, [131, 174, 46, 111, 196, 223, 66, 139])
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 nsIConsoleMessage
[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 nsIConsoleMessage
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.