Struct xpcom::interfaces::nsIMultiPartChannel
[−]
[src]
#[repr(C)]pub struct nsIMultiPartChannel { /* fields omitted */ }
interface nsIMultiPartChannel : nsISupports
/**
* An interface to access the the base channel
* associated with a MultiPartChannel.
*/
Methods
impl nsIMultiPartChannel
[src]
pub fn coerce<T: nsIMultiPartChannelCoerce>(&self) -> &T
[src]
Cast this nsIMultiPartChannel
to one of its base interfaces.
impl nsIMultiPartChannel
[src]
pub unsafe fn GetBaseChannel(
&self,
aBaseChannel: *mut *const nsIChannel
) -> nsresult
[src]
&self,
aBaseChannel: *mut *const nsIChannel
) -> nsresult
/**
* readonly attribute to access the underlying channel
*/
readonly attribute nsIChannel baseChannel;
pub unsafe fn GetPartID(&self, aPartID: *mut uint32_t) -> nsresult
[src]
/**
* Attribute guaranteed to be different for different parts of
* the same multipart document.
*/
readonly attribute uint32_t partID;
pub unsafe fn GetIsLastPart(&self, aIsLastPart: *mut bool) -> nsresult
[src]
/**
* Set to true when onStopRequest is received from the base channel.
* The listener can check this from its onStopRequest to determine
* whether more data can be expected.
*/
readonly attribute boolean isLastPart;
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 nsIMultiPartChannel
[src]
const IID: nsIID
IID: nsIID = nsID(1341109392, 21863, 4581, [168, 55, 8, 0, 32, 12, 154, 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 nsIMultiPartChannel
[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 nsIMultiPartChannel
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.