Struct xpcom::interfaces::nsIByteRangeRequest
[−]
[src]
#[repr(C)]pub struct nsIByteRangeRequest { /* fields omitted */ }
interface nsIByteRangeRequest : nsISupports
Methods
impl nsIByteRangeRequest
[src]
pub fn coerce<T: nsIByteRangeRequestCoerce>(&self) -> &T
[src]
Cast this nsIByteRangeRequest
to one of its base interfaces.
impl nsIByteRangeRequest
[src]
pub unsafe fn GetIsByteRangeRequest(
&self,
aIsByteRangeRequest: *mut bool
) -> nsresult
[src]
&self,
aIsByteRangeRequest: *mut bool
) -> nsresult
/**
* 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;
pub unsafe fn GetStartRange(&self, aStartRange: *mut int64_t) -> nsresult
[src]
/**
* Absolute start position in remote file for this request.
*/
readonly attribute long long startRange;
pub unsafe fn GetEndRange(&self, aEndRange: *mut int64_t) -> nsresult
[src]
/**
* Absolute end postion in remote file for this request
*/
readonly attribute long long endRange;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIByteRangeRequest
[src]
const IID: nsIID
IID: nsIID = nsID(3249665062, 32387, 18265, [159, 136, 14, 27, 23, 244, 147, 102])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIByteRangeRequest
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.