Struct xpcom::interfaces::nsICacheStorageConsumptionObserver [] [src]

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

interface nsICacheStorageConsumptionObserver : nsISupports

Methods

impl nsICacheStorageConsumptionObserver
[src]

[src]

Cast this nsICacheStorageConsumptionObserver to one of its base interfaces.

impl nsICacheStorageConsumptionObserver
[src]

[src]

/**
   * Callback invoked to answer asyncGetDiskConsumption call. Always triggered
   * on the main thread.
   * NOTE: implementers must also implement nsISupportsWeakReference.
   *
   * @param aDiskSize
   *    The disk consumption in bytes.
   */

void onNetworkCacheDiskConsumption (in int64_t aDiskSize);

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

IID: nsIID = nsID(1999154011, 19457, 17539, [166, 6, 50, 191, 91, 129, 54, 203])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICacheStorageConsumptionObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.