Struct xpcom::interfaces::nsIOutputStreamCallback
[−]
[src]
#[repr(C)]pub struct nsIOutputStreamCallback { /* fields omitted */ }
interface nsIOutputStreamCallback : nsISupports
Methods
impl nsIOutputStreamCallback
[src]
pub fn coerce<T: nsIOutputStreamCallbackCoerce>(&self) -> &T
[src]
Cast this nsIOutputStreamCallback
to one of its base interfaces.
impl nsIOutputStreamCallback
[src]
pub unsafe fn OnOutputStreamReady(
&self,
aStream: *const nsIAsyncOutputStream
) -> nsresult
[src]
&self,
aStream: *const nsIAsyncOutputStream
) -> nsresult
/**
* This is a companion interface for nsIAsyncOutputStream::asyncWait.
*/
/**
* Called to indicate that the stream is either writable or closed.
*
* @param aStream
* The stream whose asyncWait method was called.
*/
void onOutputStreamReady (in nsIAsyncOutputStream 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 nsIOutputStreamCallback
[src]
const IID: nsIID
IID: nsIID = nsID(1088146943, 36947, 17093, [165, 124, 62, 201, 16, 208, 241, 72])
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 nsIOutputStreamCallback
[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 nsIOutputStreamCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.