Struct xpcom::interfaces::nsIThrottledInputChannel  
                   
                       [−]
                   
               [src]
#[repr(C)]pub struct nsIThrottledInputChannel { /* fields omitted */ }
interface nsIThrottledInputChannel : nsISupports
/**
 * A throttled input channel can be managed by an
 * nsIInputChannelThrottleQueue to limit how much data is sent during
 * a given time slice.
 */
Methods
impl nsIThrottledInputChannel[src]
pub fn coerce<T: nsIThrottledInputChannelCoerce>(&self) -> &T[src]
Cast this nsIThrottledInputChannel to one of its base interfaces.
impl nsIThrottledInputChannel[src]
pub unsafe fn GetThrottleQueue(
    &self, 
    aThrottleQueue: *mut *const nsIInputChannelThrottleQueue
) -> nsresult[src]
&self,
aThrottleQueue: *mut *const nsIInputChannelThrottleQueue
) -> nsresult
/**
     * The queue that manages this channel.  Multiple channels can
     * share a single queue.  A null value means that no throttling
     * will be done.
     */
attribute nsIInputChannelThrottleQueue throttleQueue;
pub unsafe fn SetThrottleQueue(
    &self, 
    aThrottleQueue: *const nsIInputChannelThrottleQueue
) -> nsresult[src]
&self,
aThrottleQueue: *const nsIInputChannelThrottleQueue
) -> nsresult
/**
     * The queue that manages this channel.  Multiple channels can
     * share a single queue.  A null value means that no throttling
     * will be done.
     */
attribute nsIInputChannelThrottleQueue throttleQueue;
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 nsIThrottledInputChannel[src]
const IID: nsIID
IID: nsIID = nsID(171090176, 49201, 17846, [158, 139, 4, 68, 199, 212, 161, 67])
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 nsIThrottledInputChannel[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 nsIThrottledInputChannel[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports[src]
Dereferences the value.