Struct xpcom::interfaces::nsITCPSocketCallback [] [src]

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

interface nsITCPSocketCallback : nsISupports

Methods

impl nsITCPSocketCallback
[src]

[src]

Cast this nsITCPSocketCallback to one of its base interfaces.

impl nsITCPSocketCallback
[src]

BUFFER_SIZE: i64 = 65536

[src]

void fireErrorEvent (in AString name, in AString type);

[src]

void fireDataStringEvent (in DOMString type, in ACString data);

[src]

void fireEvent (in DOMString type);

[src]

void updateReadyState (in unsigned long readystate);

[src]

void updateBufferedAmount (in uint32_t bufferedAmount, in uint32_t trackingNumber);

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

IID: nsIID = nsID(2888584041, 52089, 18279, [177, 206, 188, 246, 41, 69, 205, 57])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITCPSocketCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.