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]
pub fn coerce<T: nsISpeculativeConnectionOverriderCoerce>(&self) -> &T
[src]
Cast this nsISpeculativeConnectionOverrider
to one of its base interfaces.
impl nsISpeculativeConnectionOverrider
[src]
pub unsafe fn GetParallelSpeculativeConnectLimit(&self) -> uint32_t
[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;
pub unsafe fn GetIgnoreIdle(&self) -> bool
[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;
pub unsafe fn GetIsFromPredictor(&self) -> bool
[src]
[infallible] readonly attribute boolean isFromPredictor;
pub unsafe fn GetAllow1918(&self) -> bool
[src]
/**
* by default speculative connections are not made to RFC 1918 addresses
*/
[infallible] readonly attribute boolean allow1918;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsISpeculativeConnectionOverrider
[src]
const IID: nsIID
IID: nsIID = nsID(272690147, 28369, 17830, [133, 135, 153, 94, 8, 37, 24, 215])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsISpeculativeConnectionOverrider
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.