Struct xpcom::interfaces::nsIAsyncVerifyRedirectCallback
[−]
[src]
#[repr(C)]pub struct nsIAsyncVerifyRedirectCallback { /* fields omitted */ }
interface nsIAsyncVerifyRedirectCallback : nsISupports
Methods
impl nsIAsyncVerifyRedirectCallback
[src]
pub fn coerce<T: nsIAsyncVerifyRedirectCallbackCoerce>(&self) -> &T
[src]
Cast this nsIAsyncVerifyRedirectCallback
to one of its base interfaces.
impl nsIAsyncVerifyRedirectCallback
[src]
pub unsafe fn OnRedirectVerifyCallback(&self, result: nsresult) -> nsresult
[src]
/**
* Complement to nsIChannelEventSink asynchronous callback. The result of
* the redirect decision is passed through this callback.
*
* @param result
* Result of the redirect veto decision. If FAILED the redirect has been
* vetoed. If SUCCEEDED the redirect has been allowed by all consumers.
*/
void onRedirectVerifyCallback (in nsresult 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 nsIAsyncVerifyRedirectCallback
[src]
const IID: nsIID
IID: nsIID = nsID(2367100000, 42774, 16881, [146, 190, 140, 101, 157, 179, 155, 69])
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 nsIAsyncVerifyRedirectCallback
[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 nsIAsyncVerifyRedirectCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.