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]

[src]

Cast this nsIRDFXMLSinkObserver to one of its base interfaces.

impl nsIRDFXMLSinkObserver
[src]

[src]

/**
     * Called when the load begins.
     * @param aSink the RDF/XML sink on which the load is beginning.
     */

void onBeginLoad (in nsIRDFXMLSink aSink);

[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);

[src]

/**
     * Called when a suspended load is resuming.
     * @param aSink the RDF/XML sink that is resuming.
     */

void onResume (in nsIRDFXMLSink aSink);

[src]

/**
     * Called when an RDF/XML load completes successfully.
     * @param aSink the RDF/XML sink that has finished loading.
     */

void onEndLoad (in nsIRDFXMLSink aSink);

[src]

/**
     * 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>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIRDFXMLSinkObserver
[src]

IID: nsIID = nsID(3944373552, 43827, 4562, [142, 198, 0, 128, 95, 41, 243, 112])

[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]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIRDFXMLSinkObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.