Struct xpcom::interfaces::mozIStorageCompletionCallback
[−]
[src]
#[repr(C)]pub struct mozIStorageCompletionCallback { /* fields omitted */ }
interface mozIStorageCompletionCallback : nsISupports
Methods
impl mozIStorageCompletionCallback
[src]
pub fn coerce<T: mozIStorageCompletionCallbackCoerce>(&self) -> &T
[src]
Cast this mozIStorageCompletionCallback
to one of its base interfaces.
impl mozIStorageCompletionCallback
[src]
pub unsafe fn Complete(
&self,
status: nsresult,
value: *const nsISupports
) -> nsresult
[src]
&self,
status: nsresult,
value: *const nsISupports
) -> nsresult
/**
* Indicates that the event this callback was passed in for has completed.
*
* @param status
* The status of the call. Generally NS_OK if the operation
* completed successfully.
* @param value
* If the operation produces a result, the result. Otherwise,
* |null|.
*
* @see The calling method for expected values.
*/
void complete (in nsresult status, [optional] in nsISupports value);
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 mozIStorageCompletionCallback
[src]
const IID: nsIID
IID: nsIID = nsID(2361339330, 37344, 17596, [152, 79, 85, 54, 56, 65, 32, 113])
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 mozIStorageCompletionCallback
[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 mozIStorageCompletionCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.