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]
pub fn coerce<T: nsIDirIndexListenerCoerce>(&self) -> &T
[src]
Cast this nsIDirIndexListener
to one of its base interfaces.
impl nsIDirIndexListener
[src]
pub unsafe fn OnIndexAvailable(
&self,
aRequest: *const nsIRequest,
aCtxt: *const nsISupports,
aIndex: *const nsIDirIndex
) -> nsresult
[src]
&self,
aRequest: *const nsIRequest,
aCtxt: *const nsISupports,
aIndex: *const nsIDirIndex
) -> nsresult
/**
* 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);
pub unsafe fn OnInformationAvailable(
&self,
aRequest: *const nsIRequest,
aCtxt: *const nsISupports,
aInfo: &nsAString
) -> nsresult
[src]
&self,
aRequest: *const nsIRequest,
aCtxt: *const nsISupports,
aInfo: &nsAString
) -> nsresult
/**
* 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>
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 nsIDirIndexListener
[src]
const IID: nsIID
IID: nsIID = nsID(4209306024, 7633, 4530, [181, 60, 143, 58, 161, 187, 248, 245])
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 nsIDirIndexListener
[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 nsIDirIndexListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.