Struct xpcom::interfaces::nsIInputStreamCallback
[−]
[src]
#[repr(C)]pub struct nsIInputStreamCallback { /* fields omitted */ }
interface nsIInputStreamCallback : nsISupports
Methods
impl nsIInputStreamCallback
[src]
pub fn coerce<T: nsIInputStreamCallbackCoerce>(&self) -> &T
[src]
Cast this nsIInputStreamCallback
to one of its base interfaces.
impl nsIInputStreamCallback
[src]
pub unsafe fn OnInputStreamReady(
&self,
aStream: *const nsIAsyncInputStream
) -> nsresult
[src]
&self,
aStream: *const nsIAsyncInputStream
) -> nsresult
/**
* This is a companion interface for nsIAsyncInputStream::asyncWait.
*/
/**
* Called to indicate that the stream is either readable or closed.
*
* @param aStream
* The stream whose asyncWait method was called.
*/
void onInputStreamReady (in nsIAsyncInputStream aStream);
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 nsIInputStreamCallback
[src]
const IID: nsIID
IID: nsIID = nsID(3522334356, 14958, 16464, [165, 245, 46, 129, 177, 252, 42, 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 nsIInputStreamCallback
[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 nsIInputStreamCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.