Struct xpcom::interfaces::nsICacheVisitor [] [src]

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

interface nsICacheVisitor : nsISupports

Methods

impl nsICacheVisitor
[src]

[src]

Cast this nsICacheVisitor to one of its base interfaces.

impl nsICacheVisitor
[src]

[src]

/**
     * Called to provide information about a cache device.
     *
     * @param deviceID - specifies the device being visited.
     * @param deviceInfo - specifies information about this device.
     *
     * @return true to start visiting all entries for this device.
     * @return false to advance to the next device.
     */

boolean visitDevice (in string deviceID, in nsICacheDeviceInfo deviceInfo);

[src]

/**
     * Called to provide information about a cache entry.
     *
     * @param deviceID - specifies the device being visited.
     * @param entryInfo - specifies information about this entry.
     *
     * @return true to visit the next entry on the current device, or if the
     *   end of the device has been reached, advance to the next device.
     * @return false to advance to the next device.
     */

boolean visitEntry (in string deviceID, in nsICacheEntryInfo entryInfo);

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

IID: nsIID = nsID(4173368395, 55160, 18897, [165, 155, 134, 111, 220, 80, 13, 149])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICacheVisitor
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.