Struct xpcom::interfaces::nsICacheEntryInfo
[−]
[src]
#[repr(C)]pub struct nsICacheEntryInfo { /* fields omitted */ }
interface nsICacheEntryInfo : nsISupports
Methods
impl nsICacheEntryInfo
[src]
pub fn coerce<T: nsICacheEntryInfoCoerce>(&self) -> &T
[src]
Cast this nsICacheEntryInfo
to one of its base interfaces.
impl nsICacheEntryInfo
[src]
pub unsafe fn GetClientID(&self, aClientID: &mut nsACString) -> nsresult
[src]
/**
* Get the client id associated with this cache entry.
*/
readonly attribute ACString clientID;
pub unsafe fn GetDeviceID(&self, aDeviceID: &mut nsACString) -> nsresult
[src]
/**
* Get the id for the device that stores this cache entry.
*/
readonly attribute ACString deviceID;
pub unsafe fn GetKey(&self, aKey: &mut nsACString) -> nsresult
[src]
/**
* Get the key identifying the cache entry.
*/
readonly attribute ACString key;
pub unsafe fn GetFetchCount(&self, aFetchCount: *mut int32_t) -> nsresult
[src]
/**
* Get the number of times the cache entry has been opened.
*/
readonly attribute long fetchCount;
pub unsafe fn GetLastFetched(&self, aLastFetched: *mut uint32_t) -> nsresult
[src]
/**
* Get the last time the cache entry was opened (in seconds since the Epoch).
*/
readonly attribute uint32_t lastFetched;
pub unsafe fn GetLastModified(&self, aLastModified: *mut uint32_t) -> nsresult
[src]
/**
* Get the last time the cache entry was modified (in seconds since the Epoch).
*/
readonly attribute uint32_t lastModified;
pub unsafe fn GetExpirationTime(
&self,
aExpirationTime: *mut uint32_t
) -> nsresult
[src]
&self,
aExpirationTime: *mut uint32_t
) -> nsresult
/**
* Get the expiration time of the cache entry (in seconds since the Epoch).
*/
readonly attribute uint32_t expirationTime;
pub unsafe fn GetDataSize(&self, aDataSize: *mut uint32_t) -> nsresult
[src]
/**
* Get the cache entry data size.
*/
readonly attribute unsigned long dataSize;
pub unsafe fn IsStreamBased(&self, _retval: *mut bool) -> nsresult
[src]
/**
* Find out whether or not the cache entry is stream based.
*/
boolean isStreamBased ();
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 nsICacheEntryInfo
[src]
const IID: nsIID
IID: nsIID = nsID(4206173330, 38339, 17512, [179, 23, 125, 228, 215, 88, 130, 84])
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 nsICacheEntryInfo
[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 nsICacheEntryInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.