Struct xpcom::interfaces::nsIDivertableChannel [] [src]

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

interface nsIDivertableChannel : nsISupports

/**
 * A channel implementing this interface allows diverting from an
 * nsIStreamListener in the child process to one in the parent.
 */

Methods

impl nsIDivertableChannel
[src]

[src]

Cast this nsIDivertableChannel to one of its base interfaces.

impl nsIDivertableChannel
[src]

[src]

/**
   * nsUnknownDecoder delays calling OnStartRequest until it gets enough data
   * to decide about the content type (until OnDataAvaiable is called). In a
   * OnStartRequest DivertToParent can be called but some OnDataAvailables are
   * already called and therefore can not be diverted to parent.
   *
   * nsUnknownDecoder will call UnknownDecoderInvolvedKeepData in its
   * OnStartRequest function and when it calls OnStartRequest of the next
   * listener it will call UnknownDecoderInvolvedOnStartRequestCalled. In this
   * function Child process will decide to discarge data if it is not diverting
   * to parent or keep them if it is diverting to parent.
   */

void unknownDecoderInvolvedKeepData ();

[src]

void unknownDecoderInvolvedOnStartRequestCalled ();

[src]

readonly attribute bool divertingToParent;

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

IID: nsIID = nsID(2057041197, 63528, 19249, [184, 223, 180, 15, 221, 55, 208, 7])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDivertableChannel
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.