Struct xpcom::interfaces::nsINetworkActivityData [] [src]

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

interface nsINetworkActivityData : nsISupports

/**
 * Keep tracks of the bytes that are sent (tx) and received (rx)
 * into a socket identified by its file descriptor (fd)
 * for a given host & port.
 */

Methods

impl nsINetworkActivityData
[src]

[src]

Cast this nsINetworkActivityData to one of its base interfaces.

impl nsINetworkActivityData
[src]

[src]

readonly attribute DOMString host;

[src]

readonly attribute long port;

[src]

readonly attribute long rx;

[src]

readonly attribute long tx;

[src]

readonly attribute long fd;

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

IID: nsIID = nsID(819328835, 37790, 18118, [128, 138, 126, 160, 124, 119, 2, 142])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINetworkActivityData
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.