Struct xpcom::interfaces::nsICacheStorageVisitor
[−]
[src]
#[repr(C)]pub struct nsICacheStorageVisitor { /* fields omitted */ }
interface nsICacheStorageVisitor : nsISupports
Methods
impl nsICacheStorageVisitor
[src]
pub fn coerce<T: nsICacheStorageVisitorCoerce>(&self) -> &T
[src]
Cast this nsICacheStorageVisitor
to one of its base interfaces.
impl nsICacheStorageVisitor
[src]
pub unsafe fn OnCacheStorageInfo(
&self,
aEntryCount: uint32_t,
aConsumption: uint64_t,
aCapacity: uint64_t,
aDiskDirectory: *const nsIFile
) -> nsresult
[src]
&self,
aEntryCount: uint32_t,
aConsumption: uint64_t,
aCapacity: uint64_t,
aDiskDirectory: *const nsIFile
) -> nsresult
/**
*/
void onCacheStorageInfo (in uint32_t aEntryCount, in uint64_t aConsumption, in uint64_t aCapacity, in nsIFile aDiskDirectory);
pub unsafe fn OnCacheEntryInfo(
&self,
aURI: *const nsIURI,
aIdEnhance: &nsACString,
aDataSize: int64_t,
aFetchCount: int32_t,
aLastModifiedTime: uint32_t,
aExpirationTime: uint32_t,
aPinned: bool,
aInfo: *const nsILoadContextInfo
) -> nsresult
[src]
&self,
aURI: *const nsIURI,
aIdEnhance: &nsACString,
aDataSize: int64_t,
aFetchCount: int32_t,
aLastModifiedTime: uint32_t,
aExpirationTime: uint32_t,
aPinned: bool,
aInfo: *const nsILoadContextInfo
) -> nsresult
/**
*/
void onCacheEntryInfo (in nsIURI aURI, in ACString aIdEnhance, in int64_t aDataSize, in long aFetchCount, in uint32_t aLastModifiedTime, in uint32_t aExpirationTime, in boolean aPinned, in nsILoadContextInfo aInfo);
pub unsafe fn OnCacheEntryVisitCompleted(&self) -> nsresult
[src]
/**
*/
void onCacheEntryVisitCompleted ();
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 nsICacheStorageVisitor
[src]
const IID: nsIID
IID: nsIID = nsID(1825030739, 37814, 18475, [142, 157, 30, 4, 216, 233, 214, 85])
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 nsICacheStorageVisitor
[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 nsICacheStorageVisitor
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.