Struct xpcom::interfaces::nsIChannelWithDivertableParentListener
[−]
[src]
#[repr(C)]pub struct nsIChannelWithDivertableParentListener { /* fields omitted */ }
interface nsIChannelWithDivertableParentListener : nsISupports
/** When we are diverting messages from the child to the parent. The
* nsHttpChannel and nsFtpChannel must know that there is a ChannelParent to
* be able to suspend message delivery if the channel is suspended.
*/
Methods
impl nsIChannelWithDivertableParentListener
[src]
pub fn coerce<T: nsIChannelWithDivertableParentListenerCoerce>(&self) -> &T
[src]
Cast this nsIChannelWithDivertableParentListener
to one of its base interfaces.
impl nsIChannelWithDivertableParentListener
[src]
pub unsafe fn MessageDiversionStop(&self) -> nsresult
[src]
/**
* The message diversion has finished the calls to
* SuspendMessageDiversion/ResumeMessageDiversion are not necessary anymore.
*/
void MessageDiversionStop ();
pub unsafe fn SuspendInternal(&self) -> nsresult
[src]
/**
* Internal versions of Suspend/Resume that suspend (or resume) the channel
* but do not suspend the ParentChannel's IPDL message queue.
*/
void SuspendInternal ();
pub unsafe fn ResumeInternal(&self) -> nsresult
[src]
void ResumeInternal ();
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 nsIChannelWithDivertableParentListener
[src]
const IID: nsIID
IID: nsIID = nsID(3228817311, 9475, 19967, [186, 135, 211, 7, 31, 139, 67, 59])
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 nsIChannelWithDivertableParentListener
[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 nsIChannelWithDivertableParentListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.