Struct xpcom::interfaces::nsIDirIndexListener [] [src]

#[repr(C)]
pub struct nsIDirIndexListener { /* fields omitted */ }

interface nsIDirIndexListener : nsISupports

/**
 * This interface is used to receive contents of directory index listings
 * from a protocol. They can then be transformed into an output format
 * (such as rdf, html, etc)
 */

Methods

impl nsIDirIndexListener
[src]

[src]

Cast this nsIDirIndexListener to one of its base interfaces.

impl nsIDirIndexListener
[src]

[src]

/**
     * Called for each directory entry
     *
     * @param request - the request
     * @param ctxt - opaque parameter
     * @param index - new index to add
     */

void onIndexAvailable (in nsIRequest aRequest, in nsISupports aCtxt, in nsIDirIndex aIndex);

[src]

/**
     * Called for each information line
     *
     * @param request - the request
     * @param ctxt - opaque parameter
     * @param info - new info to add
     */

void onInformationAvailable (in nsIRequest aRequest, in nsISupports aCtxt, in AString aInfo);

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

IID: nsIID = nsID(4209306024, 7633, 4530, [181, 60, 143, 58, 161, 187, 248, 245])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDirIndexListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.