Struct xpcom::interfaces::nsINetworkInfoService [] [src]

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

interface nsINetworkInfoService : nsISupports

/**
 * Service information
 */

Methods

impl nsINetworkInfoService
[src]

[src]

Cast this nsINetworkInfoService to one of its base interfaces.

impl nsINetworkInfoService
[src]

[src]

/**
   * Obtain a list of local machine network addresses.  The listener object's
   * onListedNetworkAddresses will be called with the obtained addresses.
   * On failure, the listener object's onListNetworkAddressesFailed() will be called.
   */

void listNetworkAddresses (in nsIListNetworkAddressesListener aListener);

[src]

/**
   * Obtain the hostname of the local machine.  The listener object's
   * onGotHostname will be called with the obtained hostname.
   * On failure, the listener object's onGetHostnameFailed() will be called.
   */

void getHostname (in nsIGetHostnameListener aListener);

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

IID: nsIID = nsID(1442614702, 19032, 19983, [164, 155, 144, 28, 186, 186, 232, 9])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINetworkInfoService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.