Struct xpcom::interfaces::nsISocketFilter [] [src]

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

interface nsISocketFilter : nsISupports

/**
 * Filters are created and run on the parent, and filter all packets, both
 * ingoing and outgoing. The child must specify the name of a recognized filter
 * in order to create a socket.
 */

Methods

impl nsISocketFilter
[src]

[src]

Cast this nsISocketFilter to one of its base interfaces.

impl nsISocketFilter
[src]

SF_INCOMING: i64 = 0

SF_OUTGOING: i64 = 1

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

IID: nsIID = nsID(2950874124, 47545, 16903, [184, 152, 229, 205, 225, 140, 97, 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 nsISocketFilter
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISocketFilter
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.