Struct xpcom::interfaces::nsIGetHostnameListener [] [src]

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

interface nsIGetHostnameListener : nsISupports

/**
 * Listener for getting hostname.
 */

Methods

impl nsIGetHostnameListener
[src]

[src]

Cast this nsIGetHostnameListener to one of its base interfaces.

impl nsIGetHostnameListener
[src]

[src]

void onGotHostname (in AUTF8String aHostname);

[src]

void onGetHostnameFailed ();

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

IID: nsIID = nsID(1052625762, 11764, 16450, [136, 100, 63, 168, 26, 189, 70, 147])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIGetHostnameListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.