Struct xpcom::interfaces::nsPIDNSService [] [src]

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

interface nsPIDNSService : nsIDNSService

/**
 * This is a private interface used by the internals of the networking library.
 * It will never be frozen.  Do not use it in external code.
 */

Methods

impl nsPIDNSService
[src]

[src]

Cast this nsPIDNSService to one of its base interfaces.

impl nsPIDNSService
[src]

[src]

/**
     * called to initialize the DNS service.
     */

void init ();

[src]

/**
     * called to shutdown the DNS service.  any pending asynchronous
     * requests will be canceled, and the local cache of DNS records
     * will be cleared.  NOTE: the operating system may still have
     * its own cache of DNS records, which would be unaffected by
     * this method.
     */

void shutdown ();

[src]

/**
     * Whether or not DNS prefetching (aka RESOLVE_SPECULATE) is enabled
     */

attribute boolean prefetchEnabled;

[src]

/**
     * Whether or not DNS prefetching (aka RESOLVE_SPECULATE) is enabled
     */

attribute boolean prefetchEnabled;

Methods from Deref<Target = nsIDNSService>

[src]

Cast this nsIDNSService to one of its base interfaces.

[src]

/**
     * @return the hostname of the operating system.
     */

readonly attribute AUTF8String myHostName;

Trait Implementations

impl XpCom for nsPIDNSService
[src]

IID: nsIID = nsID(619026685, 31514, 17260, [145, 84, 20, 216, 179, 141, 248, 165])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsPIDNSService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.