Struct xpcom::interfaces::nsIByteRangeRequest [] [src]

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

interface nsIByteRangeRequest : nsISupports

Methods

impl nsIByteRangeRequest
[src]

[src]

Cast this nsIByteRangeRequest to one of its base interfaces.

impl nsIByteRangeRequest
[src]

[src]

/**
     * Returns true IFF this request is a byte range request, otherwise it
     * returns false (This is effectively the same as checking to see if
     * |startRequest| is zero and |endRange| is the content length.)
     */

readonly attribute boolean isByteRangeRequest;

[src]

/**
     * Absolute start position in remote file for this request.
     */

readonly attribute long long startRange;

[src]

/**
     * Absolute end postion in remote file for this request
     */

readonly attribute long long endRange;

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

IID: nsIID = nsID(3249665062, 32387, 18265, [159, 136, 14, 27, 23, 244, 147, 102])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIByteRangeRequest
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.