Struct xpcom::interfaces::nsIDNSRegistrationListener [] [src]

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

interface nsIDNSRegistrationListener : nsISupports

/**
 * The callback interface for service registration
 */

Methods

impl nsIDNSRegistrationListener
[src]

[src]

Cast this nsIDNSRegistrationListener to one of its base interfaces.

impl nsIDNSRegistrationListener
[src]

ERROR_SERVICE_NOT_RUNNING: i64 = -65563

[src]

/**
   * Callback when the service is registered successfully.
   * @param   aServiceInfo
   *          the info about the registered service,
   *          where |serviceName|, |aServiceType|, and |domainName| are set.
   */

void onServiceRegistered (in nsIDNSServiceInfo aServiceInfo);

[src]

/**
   * Callback when the service is unregistered successfully.
   * @param   aServiceInfo
   *          the info about the unregistered service.
   */

void onServiceUnregistered (in nsIDNSServiceInfo aServiceInfo);

[src]

/**
   * Callback when the service cannot be registered.
   * @param   aServiceInfo
   *          the info about the service to be registered.
   * @param   aErrorCode
   *          the error code.
   */

void onRegistrationFailed (in nsIDNSServiceInfo aServiceInfo, in long aErrorCode);

[src]

/**
   * Callback when the service cannot be unregistered.
   * @param   aServiceInfo
   *          the info about the registered service.
   * @param   aErrorCode
   *          the error code.
   */

void onUnregistrationFailed (in nsIDNSServiceInfo aServiceInfo, in long aErrorCode);

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

IID: nsIID = nsID(3781551294, 44020, 18787, [166, 109, 237, 60, 161, 22, 229, 228])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDNSRegistrationListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.