Struct xpcom::interfaces::nsIRDFXMLSinkObserver
[−]
[src]
#[repr(C)]pub struct nsIRDFXMLSinkObserver { /* fields omitted */ }
interface nsIRDFXMLSinkObserver : nsISupports
/**
* An observer that is notified as progress is made on the load
* of an RDF/XML document in an <code>nsIRDFXMLSink</code>.
*/
Methods
impl nsIRDFXMLSinkObserver
[src]
pub fn coerce<T: nsIRDFXMLSinkObserverCoerce>(&self) -> &T
[src]
Cast this nsIRDFXMLSinkObserver
to one of its base interfaces.
impl nsIRDFXMLSinkObserver
[src]
pub unsafe fn OnBeginLoad(&self, aSink: *const nsIRDFXMLSink) -> nsresult
[src]
/**
* Called when the load begins.
* @param aSink the RDF/XML sink on which the load is beginning.
*/
void onBeginLoad (in nsIRDFXMLSink aSink);
pub unsafe fn OnInterrupt(&self, aSink: *const nsIRDFXMLSink) -> nsresult
[src]
/**
* Called when the load is suspended (e.g., for network quantization).
* @param aSink the RDF/XML sink that is being interrupted.
*/
void onInterrupt (in nsIRDFXMLSink aSink);
pub unsafe fn OnResume(&self, aSink: *const nsIRDFXMLSink) -> nsresult
[src]
/**
* Called when a suspended load is resuming.
* @param aSink the RDF/XML sink that is resuming.
*/
void onResume (in nsIRDFXMLSink aSink);
pub unsafe fn OnEndLoad(&self, aSink: *const nsIRDFXMLSink) -> nsresult
[src]
/**
* Called when an RDF/XML load completes successfully.
* @param aSink the RDF/XML sink that has finished loading.
*/
void onEndLoad (in nsIRDFXMLSink aSink);
pub unsafe fn OnError(
&self,
aSink: *const nsIRDFXMLSink,
aStatus: nsresult,
aErrorMsg: *const int16_t
) -> nsresult
[src]
&self,
aSink: *const nsIRDFXMLSink,
aStatus: nsresult,
aErrorMsg: *const int16_t
) -> nsresult
/**
* Called when an error occurs during the load
* @param aSink the RDF/XML sink in which the error occurred
* @param aStatus the networking result code
* @param aErrorMsg an error message, if applicable
*/
void onError (in nsIRDFXMLSink aSink, in nsresult aStatus, in wstring aErrorMsg);
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 nsIRDFXMLSinkObserver
[src]
const IID: nsIID
IID: nsIID = nsID(3944373552, 43827, 4562, [142, 198, 0, 128, 95, 41, 243, 112])
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 nsIRDFXMLSinkObserver
[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 nsIRDFXMLSinkObserver
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.