Struct xpcom::interfaces::mozIVisitInfoCallback
[−]
[src]
#[repr(C)]pub struct mozIVisitInfoCallback { /* fields omitted */ }
interface mozIVisitInfoCallback : nsISupports
/**
* Shared Callback interface for mozIAsyncHistory methods. The semantics
* for each method are detailed in mozIAsyncHistory.
*/
Methods
impl mozIVisitInfoCallback
[src]
pub fn coerce<T: mozIVisitInfoCallbackCoerce>(&self) -> &T
[src]
Cast this mozIVisitInfoCallback
to one of its base interfaces.
impl mozIVisitInfoCallback
[src]
pub unsafe fn HandleError(
&self,
aResultCode: nsresult,
aPlaceInfo: *const mozIPlaceInfo
) -> nsresult
[src]
&self,
aResultCode: nsresult,
aPlaceInfo: *const mozIPlaceInfo
) -> nsresult
/**
* Called when the given place could not be processed.
*
* @param aResultCode
* nsresult indicating the failure reason.
* @param aPlaceInfo
* The information that was given to the caller for the place.
*/
void handleError (in nsresult aResultCode, in mozIPlaceInfo aPlaceInfo);
pub unsafe fn HandleResult(&self, aPlaceInfo: *const mozIPlaceInfo) -> nsresult
[src]
/**
* Called for each place processed successfully.
*
* @param aPlaceInfo
* The current info stored for the place.
*/
void handleResult (in mozIPlaceInfo aPlaceInfo);
pub unsafe fn HandleCompletion(&self, aUpdatedItems: uint32_t) -> nsresult
[src]
/**
* Called when all records were processed.
* @param aUpdatedItems
* How many items were successfully updated.
*/
void handleCompletion (in unsigned long aUpdatedItems);
pub unsafe fn GetIgnoreResults(&self, aIgnoreResults: *mut bool) -> nsresult
[src]
/**
* These two attributes govern whether we attempt to call
* handleResult and handleError, respectively, if/once
* results/errors occur.
*/
readonly attribute bool ignoreResults;
pub unsafe fn GetIgnoreErrors(&self, aIgnoreErrors: *mut bool) -> nsresult
[src]
readonly attribute bool ignoreErrors;
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 mozIVisitInfoCallback
[src]
const IID: nsIID
IID: nsIID = nsID(522610807, 10329, 16779, [161, 27, 236, 58, 228, 244, 249, 61])
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 mozIVisitInfoCallback
[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 mozIVisitInfoCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.