Struct xpcom::interfaces::nsITransportEventSink [] [src]

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

interface nsITransportEventSink : nsISupports

Methods

impl nsITransportEventSink
[src]

[src]

Cast this nsITransportEventSink to one of its base interfaces.

impl nsITransportEventSink
[src]

[src]

/**
     * Transport status notification.
     *
     * @param aTransport
     *        the transport sending this status notification.
     * @param aStatus
     *        the transport status (resolvable to a string using
     *        nsIErrorService). See nsISocketTransport for socket specific
     *        status codes and more comments.
     * @param aProgress
     *        the amount of data either read or written depending on the value
     *        of the status code.  this value is relative to aProgressMax.
     * @param aProgressMax
     *        the maximum amount of data that will be read or written.  if
     *        unknown, -1 will be passed.
     */

void onTransportStatus (in nsITransport aTransport, in nsresult aStatus, in long long aProgress, in long long aProgressMax);

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

IID: nsIID = nsID(3987010848, 26615, 18507, [166, 145, 140, 50, 38, 165, 176, 166])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITransportEventSink
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.