Struct xpcom::interfaces::nsIXPCException
[−]
[src]
#[repr(C)]pub struct nsIXPCException { /* fields omitted */ }
interface nsIXPCException : nsIException
Methods
impl nsIXPCException
[src]
pub fn coerce<T: nsIXPCExceptionCoerce>(&self) -> &T
[src]
Cast this nsIXPCException
to one of its base interfaces.
impl nsIXPCException
[src]
pub unsafe fn Initialize(
&self,
aMessage: &nsACString,
aResult: nsresult,
aName: &nsACString,
aLocation: *const nsIStackFrame,
aData: *const nsISupports
) -> nsresult
[src]
&self,
aMessage: &nsACString,
aResult: nsresult,
aName: &nsACString,
aLocation: *const nsIStackFrame,
aData: *const nsISupports
) -> nsresult
void initialize (in AUTF8String aMessage, in nsresult aResult, in AUTF8String aName, in nsIStackFrame aLocation, in nsISupports aData);
Methods from Deref<Target = nsIException>
pub fn coerce<T: nsIExceptionCoerce>(&self) -> &T
[src]
Cast this nsIException
to one of its base interfaces.
pub unsafe fn GetMessageMoz(&self, aMessage: &mut nsACString) -> nsresult
[src]
[binaryname(MessageMoz)] readonly attribute AUTF8String message;
pub unsafe fn GetResult(&self, aResult: *mut nsresult) -> nsresult
[src]
readonly attribute nsresult result;
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String name;
pub unsafe fn GetColumnNumber(&self, aColumnNumber: *mut uint32_t) -> nsresult
[src]
readonly attribute uint32_t columnNumber;
pub unsafe fn GetLocation(
&self,
aLocation: *mut *const nsIStackFrame
) -> nsresult
[src]
&self,
aLocation: *mut *const nsIStackFrame
) -> nsresult
readonly attribute nsIStackFrame location;
pub unsafe fn GetData(&self, aData: *mut *const nsISupports) -> nsresult
[src]
readonly attribute nsISupports data;
Trait Implementations
impl XpCom for nsIXPCException
[src]
const IID: nsIID
IID: nsIID = nsID(2271110725, 59234, 19878, [158, 200, 191, 25, 171, 0, 80, 223])
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 nsIXPCException
[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 nsIXPCException
[src]
type Target = nsIException
The resulting type after dereferencing.
fn deref(&self) -> &nsIException
[src]
Dereferences the value.