Struct xpcom::interfaces::nsISessionStoreUtils
[−]
[src]
#[repr(C)]pub struct nsISessionStoreUtils { /* fields omitted */ }
interface nsISessionStoreUtils : nsISupports
/**
* SessionStore utility functions implemented in C++ for performance reasons.
*/
Methods
impl nsISessionStoreUtils
[src]
pub fn coerce<T: nsISessionStoreUtilsCoerce>(&self) -> &T
[src]
Cast this nsISessionStoreUtils
to one of its base interfaces.
impl nsISessionStoreUtils
[src]
pub unsafe fn ForEachNonDynamicChildFrame(
&self,
window: *const mozIDOMWindowProxy,
callback: *const nsISessionStoreUtilsFrameCallback
) -> nsresult
[src]
&self,
window: *const mozIDOMWindowProxy,
callback: *const nsISessionStoreUtilsFrameCallback
) -> nsresult
/**
* Calls the given |callback| once for each non-dynamic child frame of the
* given |window|.
*/
void forEachNonDynamicChildFrame (in mozIDOMWindowProxy window, in nsISessionStoreUtilsFrameCallback callback);
pub unsafe fn CreateDynamicFrameEventFilter(
&self,
listener: *const nsIDOMEventListener,
_retval: *mut *const nsIDOMEventListener
) -> nsresult
[src]
&self,
listener: *const nsIDOMEventListener,
_retval: *mut *const nsIDOMEventListener
) -> nsresult
/**
* Creates and returns an event listener that filters events from dynamic
* docShells. It forwards those from non-dynamic docShells to the given
* |listener|.
*
* This is implemented as a native filter, rather than a JS-based one, for
* performance reasons.
*/
nsIDOMEventListener createDynamicFrameEventFilter (in nsIDOMEventListener listener);
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 nsISessionStoreUtils
[src]
const IID: nsIID
IID: nsIID = nsID(736381167, 51075, 17886, [160, 223, 68, 43, 204, 187, 69, 50])
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 nsISessionStoreUtils
[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 nsISessionStoreUtils
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.