Struct xpcom::interfaces::nsIDNSServiceInfo [] [src]

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

interface nsIDNSServiceInfo : nsISupports

/**
 * Service information
 */

Methods

impl nsIDNSServiceInfo
[src]

[src]

Cast this nsIDNSServiceInfo to one of its base interfaces.

impl nsIDNSServiceInfo
[src]

[src]

/**
   * The host name of the service. (E.g. "Android.local.")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String host;

[src]

/**
   * The host name of the service. (E.g. "Android.local.")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String host;

[src]

/**
   * The IP address of the service.
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String address;

[src]

/**
   * The IP address of the service.
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String address;

[src]

/**
   * The port number of the service. (E.g. 80)
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute unsigned short port;

[src]

/**
   * The port number of the service. (E.g. 80)
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute unsigned short port;

[src]

/**
   * The service name of the service for display. (E.g. "My TV")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String serviceName;

[src]

/**
   * The service name of the service for display. (E.g. "My TV")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String serviceName;

[src]

/**
   * The type of the service. (E.g. "_http._tcp")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String serviceType;

[src]

/**
   * The type of the service. (E.g. "_http._tcp")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String serviceType;

[src]

/**
   * The domain name of the service. (E.g. "local.")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String domainName;

[src]

/**
   * The domain name of the service. (E.g. "local.")
   * @throws NS_ERROR_NOT_INITIALIZED when getting unset value.
   */

attribute AUTF8String domainName;

[src]

/**
   * The attributes of the service.
   */

attribute nsIPropertyBag2 attributes;

[src]

/**
   * The attributes of the service.
   */

attribute nsIPropertyBag2 attributes;

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

IID: nsIID = nsID(1729024249, 12197, 17732, [191, 30, 234, 88, 172, 23, 147, 116])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDNSServiceInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.