Struct xpcom::interfaces::nsIFeedResultListener
[−]
[src]
#[repr(C)]pub struct nsIFeedResultListener { /* fields omitted */ }
interface nsIFeedResultListener : nsISupports
/**
* nsIFeedResultListener defines a callback used when feed processing
* completes.
*/
Methods
impl nsIFeedResultListener
[src]
pub fn coerce<T: nsIFeedResultListenerCoerce>(&self) -> &T
[src]
Cast this nsIFeedResultListener
to one of its base interfaces.
impl nsIFeedResultListener
[src]
pub unsafe fn HandleResult(&self, result: *const nsIFeedResult) -> nsresult
[src]
/**
* Always called, even after an error. There could be new feed-level
* data available at this point, if it followed or was interspersed
* with the items. Fire-and-Forget implementations only need this.
*
* @param result
* An object implementing nsIFeedResult representing the feed
* and its metadata.
*/
void handleResult (in nsIFeedResult result);
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 nsIFeedResultListener
[src]
const IID: nsIID
IID: nsIID = nsID(1294909064, 14059, 20000, [188, 209, 153, 123, 60, 31, 36, 206])
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 nsIFeedResultListener
[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 nsIFeedResultListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.