Struct xpcom::interfaces::nsISpeculativeConnectionOverrider [] [src]

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

interface nsISpeculativeConnectionOverrider : nsISupports

/**
 * This is used to override the default values for various values (documented
 * inline) to determine whether or not to actually make a speculative
 * connection.
 */

Methods

impl nsISpeculativeConnectionOverrider
[src]

[src]

Cast this nsISpeculativeConnectionOverrider to one of its base interfaces.

impl nsISpeculativeConnectionOverrider
[src]

[src]

/**
     * Used to determine the maximum number of unused speculative connections
     * we will have open for a host at any one time
     */

[infallible] readonly attribute unsigned long parallelSpeculativeConnectLimit;

[src]

/**
     * Used to determine if we will ignore the existence of any currently idle
     * connections when we decide whether or not to make a speculative
     * connection.
     */

[infallible] readonly attribute boolean ignoreIdle;

[src]

[infallible] readonly attribute boolean isFromPredictor;

[src]

/**
     * by default speculative connections are not made to RFC 1918 addresses
     */

[infallible] readonly attribute boolean allow1918;

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

IID: nsIID = nsID(272690147, 28369, 17830, [133, 135, 153, 94, 8, 37, 24, 215])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISpeculativeConnectionOverrider
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.