Struct xpcom::interfaces::nsIUrlClassifierClassifyCallback
[−]
[src]
#[repr(C)]pub struct nsIUrlClassifierClassifyCallback { /* fields omitted */ }
interface nsIUrlClassifierClassifyCallback : nsISupports
/**
* This is an internal helper interface which is called after each
* classify completes to provide and handle a set of possible results,
* which the main thread may need to expand using an nsIURIClassifierCallback.
*/
Methods
impl nsIUrlClassifierClassifyCallback
[src]
pub fn coerce<T: nsIUrlClassifierClassifyCallbackCoerce>(&self) -> &T
[src]
Cast this nsIUrlClassifierClassifyCallback
to one of its base interfaces.
impl nsIUrlClassifierClassifyCallback
[src]
pub unsafe fn HandleResult(
&self,
aList: &nsACString,
aPrefix: &nsACString
) -> nsresult
[src]
&self,
aList: &nsACString,
aPrefix: &nsACString
) -> nsresult
/**
* The function is called each time the URL matches a Safe Browsing list
* The function could be called multiple times if URL matches multiple lists
*
*/
void handleResult (in ACString aList, in ACString aPrefix);
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 nsIUrlClassifierClassifyCallback
[src]
const IID: nsIID
IID: nsIID = nsID(152756120, 10405, 18237, [141, 236, 91, 52, 180, 230, 36, 150])
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 nsIUrlClassifierClassifyCallback
[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 nsIUrlClassifierClassifyCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.