Struct xpcom::interfaces::nsIProxiedChannel
[−]
[src]
#[repr(C)]pub struct nsIProxiedChannel { /* fields omitted */ }
interface nsIProxiedChannel : nsISupports
/**
* An interface for accessing the proxy info that a channel was
* constructed with.
*
* @see nsIProxiedProtocolHandler
*/
Methods
impl nsIProxiedChannel
[src]
pub fn coerce<T: nsIProxiedChannelCoerce>(&self) -> &T
[src]
Cast this nsIProxiedChannel
to one of its base interfaces.
impl nsIProxiedChannel
[src]
pub unsafe fn GetProxyInfo(
&self,
aProxyInfo: *mut *const nsIProxyInfo
) -> nsresult
[src]
&self,
aProxyInfo: *mut *const nsIProxyInfo
) -> nsresult
/**
* Gets the proxy info the channel was constructed with. null or a
* proxyInfo with type "direct" mean no proxy.
*
* The returned proxy info must not be modified.
*/
readonly attribute nsIProxyInfo proxyInfo;
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 nsIProxiedChannel
[src]
const IID: nsIID
IID: nsIID = nsID(1647898932, 35903, 17236, [149, 143, 223, 217, 213, 74, 68, 70])
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 nsIProxiedChannel
[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 nsIProxiedChannel
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.