Struct xpcom::interfaces::nsICacheVisitor
[−]
[src]
#[repr(C)]pub struct nsICacheVisitor { /* fields omitted */ }
interface nsICacheVisitor : nsISupports
Methods
impl nsICacheVisitor
[src]
pub fn coerce<T: nsICacheVisitorCoerce>(&self) -> &T
[src]
Cast this nsICacheVisitor
to one of its base interfaces.
impl nsICacheVisitor
[src]
pub unsafe fn VisitDevice(
&self,
deviceID: *const c_char,
deviceInfo: *const nsICacheDeviceInfo,
_retval: *mut bool
) -> nsresult
[src]
&self,
deviceID: *const c_char,
deviceInfo: *const nsICacheDeviceInfo,
_retval: *mut bool
) -> nsresult
/**
* 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);
pub unsafe fn VisitEntry(
&self,
deviceID: *const c_char,
entryInfo: *const nsICacheEntryInfo,
_retval: *mut bool
) -> nsresult
[src]
&self,
deviceID: *const c_char,
entryInfo: *const nsICacheEntryInfo,
_retval: *mut bool
) -> nsresult
/**
* 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>
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 nsICacheVisitor
[src]
const IID: nsIID
IID: nsIID = nsID(4173368395, 55160, 18897, [165, 155, 134, 111, 220, 80, 13, 149])
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 nsICacheVisitor
[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 nsICacheVisitor
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.