Struct xpcom::interfaces::nsIClassOfService [] [src]

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

interface nsIClassOfService : nsISupports

/**
 * nsIClassOfService.idl
 *
 * Used to express class dependencies and characteristics - complimentary to
 * nsISupportsPriority which is used to express weight
 *
 * Channels that implement this interface may make use of this
 * information in different ways.
 *
 * The default gecko HTTP/1 stack makes Followers wait for Leaders to
 * complete before dispatching followers. Other classes run in
 * parallel - neither being blocked nor blocking. All grouping is done
 * based on the Load Group - separate load groups proceed
 * independently.
 *
 * HTTP/2 does not use the load group, but prioritization is done per
 * HTTP/2 session. HTTP/2 dispatches all the requests as soon as
 * possible.
 * The various classes are assigned logical priority
 * dependency groups and then transactions of that class depend on the
 * group. In this model Followers block on Leaders and Speculative
 * depends on Background. See Http2Stream.cpp for weighting details.
 *
 */

Methods

impl nsIClassOfService
[src]

[src]

Cast this nsIClassOfService to one of its base interfaces.

impl nsIClassOfService
[src]

Leader: i64 = 1

Follower: i64 = 2

Speculative: i64 = 4

Background: i64 = 8

Unblocked: i64 = 16

Throttleable: i64 = 32

UrgentStart: i64 = 64

DontThrottle: i64 = 128

Tail: i64 = 256

TailAllowed: i64 = 512

TailForbidden: i64 = 1024

[src]

attribute unsigned long classFlags;

[src]

attribute unsigned long classFlags;

[src]

void clearClassFlags (in unsigned long flags);

[src]

void addClassFlags (in unsigned long flags);

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

IID: nsIID = nsID(483088620, 24071, 19705, [163, 13, 172, 84, 144, 210, 59, 65])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIClassOfService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.